Function at 0x41d000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x44d014]
xor eax, esp
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [esp + 0xc], eax
push esi
lea eax, [eax + eax*2]
mov dword [esp + 0xc], edx
lea eax, [eax + 0xe]
mov dword [esp + 0x14], ecx
lea ebx, [ecx + eax*8]
movzx eax, word [ebx + 0x12]
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x2c], ebx
mov dword [edi], eax
movzx eax, word [ebx + 0x10]
mov dword [edi + 4], eax
mov dword [edi + 8], 0
test byte [ebx], 1
je 0x41d0a2
xor eax, eax
mov dword [edi], 0
xor esi, esi
cmp ax, word [ebx + 0xa]
jae 0x41d0e8
movzx eax, word [ebx + 8]
movzx ecx, si
add ecx, eax
lea eax, [esp + 0x30]
push 0xffffffffffffffff
push ecx
mov ecx, dword [esp + 0x20]
push eax
call fcn.0041d000
mov edx, dword [esp + 0x1c]
inc esi
add esp, 0xc
movq xmm0, qword [eax]
movq qword [esp + 0x20], xmm0
mov eax, dword [esp + 0x24]
imul eax, dword [esp + 0x20]
add dword [edi], eax
cmp si, word [ebx + 0xa]
jb 0x41d063
jmp 0x41d0e8
movzx eax, word [ebx + 8]
cmp eax, 0x13
ja 0x41d298
je 0x41d2ac
sub eax, 1
je 0x41d1fc
sub eax, 1
je 0x41d167
sub eax, 0xe
jne 0x41d0e8
mov dword [edi + 8], 0x10
mov eax, 0
test byte [edx + 4], 0x40
setne al
lea eax, [eax*4 + 4]
mov dword [edi], eax
test byte [ebx], 4
je case.default.0x41d160
mov eax, dword [esp + 0x2c]
xor ebx, ebx
xor esi, esi
movzx eax, word [eax + 0x10]
mov dword [esp + 0x14], eax
test eax, eax
je 0x41d13f
mov edi, eax
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x30]
push ebx
push esi
push eax
call fcn.0041d000
mov edx, dword [esp + 0x1c]
inc esi
add esp, 0xc
movq xmm0, qword [eax]
movq qword [esp + 0x20], xmm0
mov eax, dword [esp + 0x24]
imul eax, dword [esp + 0x20]
add ebx, eax
cmp esi, edi
jb 0x41d107
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea eax, [eax + eax*2]
mov ecx, dword [esp + 0x10]
movzx eax, word [edx + eax*8 + 0x78]
mov ecx, dword [ecx + 0x5c]
add eax, 0xfffffffd
add ecx, ebx
cmp eax, 5
ja case.default.0x41d160
jmp dword [eax*4 + 0x41d38c]
mov esi, dword [ebp + 0x10]
mov dword [edi + 8], 2
test byte [ebx], 2
je 0x41d183
xor edx, edx
mov dword [edi], edx
mov edx, dword [esp + 0x10]
jmp 0x41d0e8
movzx eax, word [ebx + 0x12]
test ax, ax
je 0x41d199
mov edx, eax
mov dword [edi], edx
mov edx, dword [esp + 0x10]
jmp 0x41d0e8
cmp esi, 0xffffffff
jne 0x41d1b0
push dword [esp + 0x14]
call fcn.0041d3b0
mov edx, dword [esp + 0x14]
add esp, 4
mov esi, eax
movzx eax, word [edx + 0x56]
xor ecx, ecx
mov dword [esp + 0x14], eax
cmp esi, eax
ja 0x41d1df
mov eax, dword [edx + 0x5c]
mov dword [esp + 0x1c], eax
add eax, ecx
lea edx, [ecx + 1]
cmp byte [eax + esi], 0
je 0x41d1ed
mov ecx, edx
lea eax, [ecx + esi]
cmp eax, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
jbe 0x41d1c5
lea edx, [ecx - 1]
mov dword [edi], edx
mov edx, dword [esp + 0x10]
jmp 0x41d0e8
or dword [edi + 8], 8
mov dword [edi], edx
mov edx, dword [esp + 0x10]
jmp 0x41d0e8
mov esi, dword [ebp + 0x10]
mov dword [edi + 8], 4
test byte [ebx], 2
je 0x41d218
xor edx, edx
mov dword [edi], edx
mov edx, dword [esp + 0x10]
jmp 0x41d0e8
movzx eax, word [ebx + 0x12]
test ax, ax
je 0x41d230
mov edx, eax
add edx, edx
mov dword [edi], edx
mov edx, dword [esp + 0x10]
jmp 0x41d0e8
cmp esi, 0xffffffff
jne 0x41d247
push dword [esp + 0x14]
call fcn.0041d3b0
mov edx, dword [esp + 0x14]
add esp, 4
mov esi, eax
movzx eax, word [edx + 0x56]
xor ecx, ecx
mov dword [esp + 0x1c], eax
cmp esi, eax
ja 0x41d27b
mov eax, dword [edx + 0x5c]
mov dword [esp + 0x14], eax
nop dword [eax]
add eax, ecx
lea edx, [ecx + 2]
cmp word [eax + esi], 0
je 0x41d289
mov ecx, edx
lea eax, [ecx + esi]
cmp eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
jbe 0x41d260
lea edx, [ecx - 2]
mov dword [edi], edx
mov edx, dword [esp + 0x10]
jmp 0x41d0e8
or dword [edi + 8], 8
mov dword [edi], edx
mov edx, dword [esp + 0x10]
jmp 0x41d0e8
sub eax, 0x134
je 0x41d0cc
sub eax, 2
jne 0x41d0e8
mov eax, dword [esp + 0x18]
xor esi, esi
mov ecx, dword [ebx + 4]
cdq
add ecx, eax
mov dword [esp + 0x3c], 0
push edi
lea eax, [esp + 0x34]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x14]
adc esi, edx
push eax
push 1
push 0
push 0
push ecx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], 0xffffffff
call dword [sym.imp.tdh.dll_TdhGetPropertySize]
mov edx, dword [esp + 0x10]
jmp 0x41d0e8
movsx eax, byte [ecx]
mov dword [edi + 4], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00420eb4
mov esp, ebp
pop ebp
ret
movzx eax, byte [ecx]
mov dword [edi + 4], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00420eb4
mov esp, ebp
pop ebp
ret
movsx eax, word [ecx]
mov dword [edi + 4], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00420eb4
mov esp, ebp
pop ebp
ret
movzx eax, word [ecx]
mov dword [edi + 4], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00420eb4
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx]
mov dword [edi + 4], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00420eb4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ecx]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x44]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00420eb4
mov esp, ebp
pop ebp
ret