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

Disassembly:
sub esp, 0x44
mov eax, dword [0x44700c]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x48]
push ebx
push ebp
push edi
mov ebx, dword [eax]
mov edi, ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
mov ebp, dword [ecx]
mov dword [eax], 0
mov dword [ecx], 0
cmp dword [edi + 0x18], 0
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebp
je 0x41bde2
mov eax, dword [edi + 0x1c]
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00421e3f
add esp, 0x44
ret
cmp dword [edi + 0xc], 0
push esi
lea esi, [edi + 0x20]
mov dword [esi], 2
mov dword [esp + 0x3c], esi
je 0x41beed
push esi
push dword [esp + 0x70]
mov dword [esp + 0x50], ebx
lea eax, [esp + 0x4c]
mov ebx, dword [esp + 0x70]
push ebx
push eax
push edx
lea eax, [esp + 0x5c]
mov dword [esp + 0x58], ebp
push eax
mov eax, dword [edi + 0x88]
push 0
push dword [edi + 0x78]
call eax
mov edx, dword [esi]
mov ebp, eax
mov eax, dword [esp + 0x30]
add esp, 0x20
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
mov dword [edi + 0x1c], ebp
mov dword [eax], ecx
mov eax, dword [edi + 0x14]
add eax, esi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], edx
mov dword [edi + 0x14], eax
test ebp, ebp
jne 0x41be59
test ebx, ebx
jne 0x41be59
cmp edx, 1
jne 0x41be60
mov dword [edi + 0x18], 1
mov ecx, dword [edi + 8]
cmp ecx, 1
jne 0x41be83
mov ecx, dword [esp + 0x18]
mov eax, ebp
mov dword [ecx], esi
pop esi
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00421e3f
add esp, 0x44
ret
cmp dword [edi + 0x18], 0
je 0x41bed8
mov ebx, 1
cmp ecx, ebx
jbe 0x41bed2
mov ebp, dword [esp + 0x5c]
lea esi, [edi + 0x90]
nop dword [eax]
push eax
push dword [edi + 0xc]
mov eax, dword [esi + 0x14]
push dword [esi]
call eax
add esp, 0xc
cmp dword [esp + 0x24], 1
je 0x41bec2
test ebp, ebp
je 0x41bec5
mov ecx, dword [esp + 0x28]
cmp dword [edi + 0x14], ecx
jne 0x41bec5
mov eax, dword [edi + 0x14]
inc ebx
add esi, 0x18
cmp ebx, dword [edi + 8]
jb 0x41bea0
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
pop esi
pop edi
mov eax, ebp
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00421e3f
add esp, 0x44
ret
mov ebp, dword [edi + 8]
cmp ebp, 1
je 0x41bf3e
cmp dword [edi + 4], 0
jne 0x41bf31
mov eax, dword [edi]
push 0x60000
push eax
mov eax, dword [eax]
call eax
add esp, 8
mov dword [edi + 4], eax
test eax, eax
jne 0x41bf29
pop esi
pop edi
pop ebp
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00421e3f
add esp, 0x44
ret
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebp, dword [edi + 8]
mov dword [esp + 0x2c], 0
jmp 0x41bf53
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x2c], eax
jmp 0x41bf53
lea esi, [edi + 0x20]
mov dword [esi], 2
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 1
test ebp, ebp
je 0x41c038
mov dword [esp + 0x34], ebx
lea eax, [esi + 5]
lea eax, [eax + eax*2]
lea eax, [edi + eax*8]
mov dword [esp + 0x38], eax
test esi, esi
jne 0x41bf9a
mov eax, dword [esp + 0x68]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
sub eax, dword [ecx]
jmp 0x41bfc3
mov edx, dword [edi + 4]
lea eax, [esi - 1]
mov ecx, dword [edi + esi*4 + 0x2c]
shl eax, 0x11
add edx, eax
mov eax, dword [edi + esi*4 + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [edi + esi*4 + 0x38]
mov dword [esp + 0x40], edx
add dword [esp + 0x40], ecx
sub eax, ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x40], eax
lea eax, [ebp - 1]
cmp esi, eax
jne 0x41bfdf
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x48]
sub ecx, dword [ebp]
jmp 0x41bffa
mov eax, dword [edi + esi*4 + 0x30]
cmp eax, dword [edi + esi*4 + 0x3c]
jne 0x41c011
mov ebp, dword [esp + 0x18]
mov eax, esi
shl eax, 0x11
mov ecx, 0x20000
add eax, dword [edi + 4]
mov dword [esp + 0x44], ecx
mov ecx, dword [edi + esi*4 + 0x68]
test ecx, ecx
je 0x41c057
mov eax, dword [esp + 0x34]
mov ebx, ecx
test eax, eax
cmovne ebx, eax
mov eax, dword [esp + 0x1c]
mov ebp, dword [edi + 8]
inc esi
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
cmp esi, ebp
jb 0x41bf75
test eax, eax
jne 0x41bf50
cmp dword [esp + 0x24], 0
je 0x41c042
mov eax, dword [esp + 0x3c]
mov dword [eax], 1
mov ecx, dword [esp + 0x50]
mov eax, ebx
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00421e3f
add esp, 0x44
ret
lea ecx, [esp + 0x4c]
push ecx
push dword [esp + 0x30]
lea ecx, [esp + 0x48]
push dword [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0x58]
push ecx
push eax
mov eax, dword [esp + 0x54]
push dword [eax]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
add esp, 0x20
test ecx, ecx
je 0x41c08d
test ebx, ebx
mov dword [edi + esi*4 + 0x68], ecx
cmove ebx, ecx
mov eax, dword [esp + 0x4c]
xor edx, edx
cmp eax, 1
sete dl
je 0x41c0b0
cmp dword [edi + 8], 1
mov dword [esp + 0x24], 0
jne 0x41c0b0
test ecx, ecx
jne 0x41c0b0
mov dword [edi + 0x20], eax
mov ecx, dword [esp + 0x40]
test esi, esi
jne 0x41c0c4
mov eax, dword [esp + 0x10]
add dword [eax], ecx
add dword [esp + 0x14], ecx
jmp 0x41c0c8
add dword [edi + esi*4 + 0x2c], ecx
mov eax, dword [edi + 8]
dec eax
cmp esi, eax
mov eax, dword [esp + 0x44]
jne 0x41c0dd
add dword [ebp], eax
add dword [esp + 0x48], eax
jmp 0x41c0ed
mov dword [edi + esi*4 + 0x3c], eax
mov dword [edi + esi*4 + 0x30], 0
mov dword [edi + esi*4 + 0x24], edx
test eax, eax
jne 0x41c0f9
test ecx, ecx
je 0x41c011
mov eax, 1
mov dword [esp + 0x1c], eax
jmp 0x41c015