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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push ebx
xor ebx, ebx
push esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebx
cmp dword [edi + 0x18], ebx
jne 0x41d90a
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov dword [eax + 4], ebx
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
call fcn.00419530
cmp eax, ebx
jne 0x41db50
movsx esi, word [edi + 0x5e]
mov ecx, dword [edi + esi*4 + 0x88]
cmp byte [ecx + 3], bl
jne 0x41d92e
cmp byte [ecx + 2], bl
jne 0x41d93b
movzx eax, word [ecx + 0x10]
cdq
add dword [esp + 8], eax
adc dword [esp + 0xc], edx
xor ebx, ebx
cmp byte [ecx + 3], bl
je 0x41dab2
movzx eax, word [edi + 0x5e]
cmp ax, bx
je 0x41db3e
cwde
mov eax, dword [edi + eax*4 + 0x88]
cmp eax, ebx
je 0x41da6f
mov eax, dword [eax + 0x44]
test byte [eax + 0x18], 0x40
mov esi, dword [eax + 0x10]
je 0x41d9af
dec dword [esi + 0x78]
mov ecx, dword [esi + 0x88]
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x88], eax
mov ebx, dword [ecx]
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0x14]
mov eax, dword [esi + 0x98]
push edx
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.0049f7f0
push edx
mov edx, dword [ebx + 0x48]
push eax
mov eax, dword [esi + 0x3c]
push eax
call edx
add esp, 0x10
jmp 0x41da14
or edx, 0xffffffff
add word [eax + 0x1a], dx
jne 0x41da14
mov ecx, dword [eax + 0x1c]
add dword [ecx + 0xc], edx
test byte [eax + 0x18], 2
jne 0x41d9e8
mov ecx, dword [eax + 0x1c]
cmp dword [ecx + 0x1c], ebx
je 0x41da14
cmp dword [eax + 0x14], 1
jne 0x41d9d5
mov dword [ecx + 0x2c], ebx
mov eax, dword [eax]
mov ecx, dword [ecx + 0x28]
push ebx
push eax
push ecx
call dword [0x4d77a8]
add esp, 0xc
jmp 0x41da14
call fcn.0040bb30
mov ecx, dword [eax + 0x1c]
mov edx, dword [ecx]
mov dword [eax + 0x20], edx
cmp edx, ebx
je 0x41d9fc
mov dword [edx + 0x24], eax
mov dword [ecx], eax
cmp dword [ecx + 4], ebx
jne 0x41da06
mov dword [ecx + 4], eax
cmp dword [ecx + 8], ebx
jne 0x41da14
test byte [eax + 0x18], 4
jne 0x41da14
mov dword [ecx + 8], eax
cmp dword [esi + 0x78], 0
jne 0x41da6f
mov edx, dword [esi + 0xdc]
cmp dword [edx + 0xc], 0
jne 0x41da6f
mov al, byte [esi + 0xf]
cmp al, 6
je 0x41da68
test al, al
je 0x41da68
cmp al, 2
jb 0x41da54
mov eax, dword [0x4de2b4]
test eax, eax
je 0x41da40
call eax
mov eax, esi
call fcn.00411da0
mov eax, dword [0x4de2b8]
test eax, eax
je 0x41da68
call eax
jmp 0x41da68
cmp byte [esi + 4], 0
jne 0x41da68
push 0
push 0
mov ebx, esi
call fcn.0040e380
add esp, 8
mov ebx, esi
call fcn.0040e220
dec word [edi + 0x5e]
mov cx, word [edi + 0x5e]
xor eax, eax
mov word [edi + 0x42], ax
movsx eax, cx
xor ebx, ebx
mov byte [edi + 0x5a], bl
mov edx, dword [edi + eax*4 + 0x88]
mov ax, word [edi + eax*2 + 0x60]
cmp ax, word [edx + 0x10]
jae 0x41d946
movsx ecx, cx
inc word [edi + ecx*2 + 0x60]
movsx esi, word [edi + 0x5e]
lea eax, [edi + ecx*2 + 0x60]
mov ecx, dword [edi + esi*4 + 0x88]
movzx eax, word [edi + esi*2 + 0x60]
movzx edx, word [ecx + 0x10]
mov esi, edi
cmp eax, edx
jne 0x41daee
movzx eax, byte [ecx + 5]
mov ecx, dword [ecx + 0x38]
movzx edx, byte [eax + ecx + 9]
lea ecx, [eax + ecx + 8]
movzx eax, byte [ecx]
shl eax, 8
or eax, edx
movzx edx, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
push eax
jmp 0x41db28
mov edx, dword [ecx + 0x40]
lea edx, [edx + eax*2]
movzx eax, byte [edx + 1]
movzx edx, byte [edx]
shl edx, 8
or eax, edx
movzx edx, word [ecx + 0x12]
and eax, edx
add eax, dword [ecx + 0x38]
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl ecx, 8
or ecx, edx
shl ecx, 8
or ecx, eax
push ecx
call fcn.00419480
add esp, 4
cmp eax, ebx
je 0x41d919
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [eax], ecx
mov dword [eax + 4], edx
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret