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

Disassembly:
sub esp, 0x54
push ebx
push esi
xor esi, esi
push edi
mov ebx, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
call fcn.0041ed20
mov edi, eax
cmp edi, esi
je 0x41ee14
pop edi
pop esi
pop ebx
add esp, 0x54
ret
push ebp
mov ebp, dword [ebx + 0x30]
cmp ebp, esi
jne 0x41eed0
mov eax, 0x377f0682
lea ecx, [esp + 0x44]
call fcn.00408fa0
mov eax, 0x2de218
lea ecx, [esp + 0x48]
call fcn.00408fa0
mov edi, dword [esp + 0x68]
mov eax, edi
lea ecx, [esp + 0x4c]
call fcn.00408fa0
mov eax, dword [ebx + 0x54]
lea ecx, [esp + 0x50]
call fcn.00408fa0
lea esi, [ebx + 0x40]
push esi
push 8
call fcn.00412de0
mov eax, dword [esi]
mov ecx, dword [esi + 4]
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
push 1
xor ecx, ecx
mov edx, 0x18
lea eax, [esp + 0x54]
call fcn.0040baa0
mov esi, dword [esp + 0x34]
mov eax, esi
lea ecx, [esp + 0x6c]
call fcn.00408fa0
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x70]
call fcn.00408fa0
push 0
mov dword [ebx + 0x3c], eax
push 0
lea eax, [esp + 0x5c]
push 0x20
push eax
mov eax, dword [ebx + 8]
mov word [ebx + 0x18], di
mov byte [ebx + 0x2d], 0
mov dword [ebx + 0x38], esi
call fcn.00407af0
mov edi, eax
add esp, 0x20
test edi, edi
jne 0x41f11d
mov esi, dword [esp + 0x6c]
test esi, esi
mov dword [esp + 0x10], esi
je 0x41efa6
mov eax, dword [esp + 0x68]
add eax, 0x18
cdq
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
jmp 0x41eef6
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
inc ebp
push edx
mov dword [esp + 0x28], ebp
push 0
dec ebp
push ebp
call fcn.0049a5c0
mov edi, eax
mov eax, dword [esp + 0x74]
add edi, 0x20
mov ebp, edx
adc ebp, 0
test eax, eax
je 0x41ef2d
mov eax, dword [esi + 8]
test eax, eax
jne 0x41ef2d
mov ecx, dword [esp + 0x70]
jmp 0x41ef2f
xor ecx, ecx
mov eax, dword [esi]
push eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
push ecx
lea esi, [esp + 0x34]
call fcn.0040bbb0
mov eax, dword [ebx + 8]
push ebp
push edi
mov ecx, esi
push 0x18
push ecx
call fcn.00407af0
add esp, 0x18
test eax, eax
jne 0x41f11f
mov edx, dword [esp + 0x68]
add edi, 0x18
adc ebp, eax
mov eax, dword [esp + 0x18]
push ebp
push edi
push edx
push eax
mov eax, dword [ebx + 8]
call fcn.00407af0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x41f11d
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [eax + 8]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x41eef2
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x78]
test eax, eax
je 0x41f0a0
mov ecx, dword [ebx + 8]
call fcn.00407b90
cdq
mov esi, eax
mov eax, dword [esp + 0x68]
push 0
add eax, 0x18
mov dword [esp + 0x18], edx
cdq
push ebp
push edx
push eax
call fcn.0049a5c0
mov ebp, eax
mov eax, dword [esp + 0x14]
mov edi, edx
add ebp, 0x20
adc edi, 0
mov ecx, ebp
add ecx, esi
mov edx, edi
adc edx, eax
push eax
sub ecx, 1
push esi
sbb edx, 0
push edx
push ecx
call fcn.0049a450
mov ecx, dword [esp + 0x14]
push ecx
push esi
push edx
push eax
call fcn.0049a5c0
cmp edi, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jg 0x41f08e
jl 0x41f017
cmp ebp, eax
jae 0x41f08e
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
push eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x74]
mov ecx, edx
push eax
mov eax, dword [ecx + 0xc]
lea esi, [esp + 0x34]
call fcn.0040bbb0
mov eax, dword [ebx + 8]
push edi
push ebp
mov edx, esi
push 0x18
push edx
call fcn.00407af0
add esp, 0x18
test eax, eax
jne 0x41f11f
mov esi, dword [esp + 0x68]
add ebp, 0x18
adc edi, eax
mov eax, dword [esp + 0x20]
push edi
push ebp
push esi
push eax
mov eax, dword [ebx + 8]
call fcn.00407af0
add esp, 0x10
test eax, eax
jne 0x41f11f
inc dword [esp + 0x1c]
mov eax, esi
cdq
add ebp, eax
mov eax, dword [esp + 0x14]
adc edi, edx
cmp edi, eax
jl 0x41f017
jg 0x41f08e
cmp ebp, dword [esp + 0x10]
jb 0x41f017
mov edx, dword [esp + 0x78]
mov eax, dword [ebx + 8]
call fcn.00407b30
mov esi, dword [esp + 0x6c]
mov edi, eax
test esi, esi
mov ebp, dword [ebx + 0x30]
je 0x41f0c4
test edi, edi
jne 0x41f0c4
mov ecx, dword [esi + 0xc]
push ecx
inc ebp
push ebx
mov eax, ebp
call fcn.0041e270
mov esi, dword [esi + 8]
add esp, 8
test esi, esi
mov edi, eax
jne 0x41f0a7
mov esi, dword [esp + 0x1c]
test esi, esi
jle 0x41f0ef
lea esp, [esp]
test edi, edi
jne 0x41f11d
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0xc]
push eax
inc ebp
push ebx
mov eax, ebp
dec esi
call fcn.0041e270
add esp, 8
test esi, esi
mov edi, eax
jg 0x41f0d0
test edi, edi
jne 0x41f11d
mov eax, dword [esp + 0x74]
test eax, eax
mov cx, word [esp + 0x68]
mov word [ebx + 0x2e], cx
mov dword [ebx + 0x30], ebp
je 0x41f11d
mov eax, dword [ebx + 0x28]
mov edx, dword [esp + 0x70]
inc eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x34], edx
call fcn.0040bb50
mov dword [ebx + 0xc], ebp
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x54
ret