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

Disassembly:
sub esp, 0x64
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
push ebp
mov ebp, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
cmp ebp, dword [ecx + 0x1840]
jb 0x41dd63
xor al, al
pop ebp
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004e6a64
add esp, 0x64
ret 0x14
imul ebp, ebp, 0xb0
add ebp, dword [ecx + 0x183c]
push esi
mov esi, dword [ecx + 0x1838]
xor eax, eax
push edi
test esi, esi
jbe 0x41ddbc
mov edi, dword [ebp + 4]
lea edx, [ecx + 0x143c]
cmp dword [edx], edi
je 0x41ddab
inc eax
add edx, 0x210
cmp eax, esi
jb 0x41dd86
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004e6a64
add esp, 0x64
ret 0x14
imul eax, eax, 0x210
lea eax, [eax + ecx + 0x1418]
test eax, eax
jne 0x41ddd2
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004e6a64
add esp, 0x64
ret 0x14
mov edi, dword [eax + 0xcc]
mov eax, dword [eax + 0xd0]
push ebx
xor ecx, ecx
xor edx, edx
push ecx
mov esi, edi
add esi, eax
push 0x800
adc edx, ecx
push edx
push esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x38], eax
call fcn.004e79f0
mov ebx, dword [esp + 0x80]
cmp ebx, edx
jb 0x41de2a
ja case.default.0x41de37
mov esi, dword [esp + 0x7c]
cmp esi, eax
jb 0x41de2e
pop ebx
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004e6a64
add esp, 0x64
ret 0x14
mov esi, dword [esp + 0x7c]
mov eax, dword [ebp]
dec eax
cmp eax, 3
ja case.default.0x41de37
jmp dword [eax*4 + 0x41e0e8]
push 0
push 0x800
xor eax, eax
push eax
push edi
call fcn.004e79f0
mov ecx, eax
mov eax, dword [esp + 0x24]
add ecx, esi
adc edx, ebx
push 0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax], ecx
push 0x800
xor eax, eax
push eax
push edx
call fcn.004e79f0
mov ecx, eax
mov eax, dword [esp + 0x20]
sub ecx, esi
sbb edx, ebx
pop ebx
pop edi
pop esi
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop ebp
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004e6a64
add esp, 0x64
ret 0x14
push 0
mov edi, ebx
mov eax, esi
shrd eax, edi, 0xb
push 0x800
shr edi, 0xb
push edi
push eax
mov dword [esp + 0x20], eax
call fcn.004e79f0
mov ecx, dword [ebp + 0x84]
sub esi, eax
sbb ebx, edx
xor eax, eax
cmp edi, eax
jb 0x41ded4
ja case.default.0x41de37
cmp dword [esp + 0x10], ecx
jae case.default.0x41de37
mov edx, dword [ebp + 0x80]
mov eax, dword [esp + 0x10]
mov ecx, dword [edx + eax*4]
xor edx, edx
add ecx, dword [esp + 0x18]
mov eax, edx
push eax
push 0x800
adc edx, eax
push edx
push ecx
call fcn.004e79f0
mov ecx, eax
mov eax, dword [esp + 0x24]
add ecx, esi
adc edx, ebx
mov dword [eax + 4], edx
mov dword [eax], ecx
mov eax, dword [esp + 0x20]
mov edx, 0x800
sub edx, esi
mov ecx, 0
sbb ecx, ebx
pop ebx
pop edi
pop esi
mov dword [eax], edx
mov dword [eax + 4], ecx
mov al, 1
pop ebp
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004e6a64
add esp, 0x64
ret 0x14
push 0
push 0x800
xor eax, eax
push eax
push edi
call fcn.004e79f0
mov esi, eax
add esi, dword [esp + 0x7c]
mov edi, edx
lea edx, [ebp + 8]
push edx
lea ecx, [esp + 0x3c]
adc edi, ebx
mov dword [ebp + 0x20], 0
call fcn.0041d120
mov ebx, dword [esp + 0x64]
xor eax, eax
push eax
shl ebx, 0xb
push ebx
push edi
push esi
mov dword [esp + 0x44], eax
call fcn.004e9660
mov ecx, dword [esp + 0x64]
push 0
push ecx
push edx
push eax
call fcn.004e79f0
push 0
push 0x800
push edx
push eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
call fcn.004e79f0
sub esi, eax
mov eax, dword [esp + 0x14]
sbb edi, edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x64]
xor ecx, ecx
mov dword [esp + 0x18], edx
test eax, eax
jbe 0x41dff7
mov ebp, dword [ebp + 0x70]
mov dword [esp + 0x28], ebp
mov edx, dword [ebp]
cmp edx, dword [esp + 0x10]
jne 0x41dfd2
xor edx, edx
cmp edx, dword [esp + 0x14]
je 0x41dfe8
mov ebp, dword [esp + 0x28]
inc ecx
add ebp, 8
mov dword [esp + 0x28], ebp
cmp ecx, eax
jb 0x41dfc1
mov edx, dword [esp + 0x18]
jmp 0x41dff7
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 4]
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x1c]
push 0
push 0x800
push eax
push edx
call fcn.004e79f0
mov ecx, eax
mov eax, dword [esp + 0x24]
add ecx, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
adc edx, edi
mov dword [eax + 4], edx
mov eax, dword [esp + 0x34]
sub ebx, esi
sbb eax, edi
mov dword [ecx], ebx
pop ebx
pop edi
pop esi
mov dword [ecx + 4], eax
mov al, 1
pop ebp
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004e6a64
add esp, 0x64
ret 0x14
cmp dword [ebp + 0xa0], 0
je case.default.0x41de37
mov ecx, dword [ebp + 0xac]
lea edx, [esp + 0x10]
push edx
push 0
lea eax, [esp + 0x30]
push eax
push 0
push 0
push 0
push ebx
push esi
mov esi, dword [esp + 0x30]
push ecx
lea edx, [ebp + 0x88]
push edx
mov ecx, esi
call fcn.0041e6d0
test al, al
je case.default.0x41de37
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebp + 0xac]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0041dd20
test al, al
je case.default.0x41de37
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax], edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
pop ebx
pop edi
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x68]
pop esi
pop ebp
mov dword [eax], edx
xor ecx, esp
mov al, 1
call fcn.004e6a64
add esp, 0x64
ret 0x14