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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x46c
mov eax, dword [ebp + 0x14]
push ebx
mov dword [esp + 0x1c], ecx
xor ecx, ecx
add eax, 0xfffffffd
cmp eax, 5
push esi
push edi
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x5c], 1
ja case.0x414527.5
movzx eax, byte [eax + 0x4149d4]
jmp dword [eax*4 + 0x4149cc]
mov dword [esp + 0x5c], ecx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 4]
mov esi, dword [ebp + 8]
mov edx, dword [esi]
push ecx
mov ecx, dword [ebx]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x28]
mov edx, dword [esi]
push 4
push ebx
mov ecx, esi
call dword [edx + 0x34]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [edi], eax
mov dword [edi + 4], edx
mov eax, dword [ebx + 4]
mov ecx, edx
cmp ecx, eax
ja case.0x414620.5
jb 0x414580
mov edx, dword [edi]
cmp edx, dword [ebx]
jae case.0x414620.5
lea esp, [esp]
mov eax, dword [esi]
push 4
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call dword [eax + 0x34]
mov edx, dword [esi]
push 8
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call dword [edx + 0x34]
mov edx, dword [esi]
push 8
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call dword [edx + 0x34]
mov edx, dword [esi]
push 8
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call dword [edx + 0x34]
mov edx, dword [esi]
push 8
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call dword [edx + 0x34]
mov edx, dword [esi]
push 8
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call dword [edx + 0x34]
mov edx, dword [esi]
push 8
lea eax, [esp + 0x44]
push eax
mov ecx, esi
call dword [edx + 0x34]
mov edx, dword [esi]
push 8
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call dword [edx + 0x34]
mov edx, dword [esi]
push 8
lea eax, [esp + 0x64]
push eax
mov ecx, esi
call dword [edx + 0x34]
mov edx, dword [esi]
push 8
lea eax, [esp + 0x54]
push eax
mov ecx, esi
call dword [edx + 0x34]
mov eax, dword [esp + 0xc]
cmp eax, 0x30
ja case.0x414620.5
movzx ecx, byte [eax + 0x4149f8]
jmp dword [ecx*4 + 0x4149dc]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], 0x14
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
jmp case.0x414620.8
mov dword [esp + 0xc], 0x23
jmp case.0x414620.8
mov dword [esp + 0xc], 0x30
jmp case.0x414620.8
mov dword [esp + 0xc], 0xa
jmp case.0x414620.8
mov dword [esp + 0xc], 8
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xc]
push 4
lea ecx, [esp + 0x5c]
mov dword [edi], eax
mov dword [edi + 4], edx
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x34]
mov ecx, dword [esp + 0x58]
mov eax, ecx
cdq
add eax, dword [edi]
adc edx, dword [edi + 4]
cmp edx, dword [ebx + 4]
ja case.0x414620.5
jb 0x4146d0
cmp eax, dword [ebx]
ja case.0x414620.5
mov eax, dword [ebp + 0x14]
add eax, 0xfffffffd
cmp eax, 0x64
ja case.0x4146e2.9
movzx edx, byte [eax + 0x414a38]
jmp dword [edx*4 + 0x414a2c]
test ecx, ecx
jle case.0x4146e2.9
mov eax, dword [esi]
inc ecx
push ecx
lea ecx, [esp + 0x6c]
push ecx
mov ecx, esi
call dword [eax + 0x34]
jmp case.0x4146e2.9
test ecx, ecx
jle case.0x4146e2.9
mov edx, dword [esi]
push ecx
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
call dword [edx + 0x34]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xc]
cmp eax, dword [edi]
jne 0x414722
cmp edx, dword [edi + 4]
je case.0x414620.5
mov eax, dword [esp + 0xc]
mov ecx, eax
sub ecx, 8
je 0x414961
dec ecx
je 0x414916
dec ecx
je 0x4148cc
cmp eax, 0x13
jbe 0x41499c
shr eax, 4
dec eax
je 0x414855
dec eax
je 0x41480e
dec eax
jne 0x41499c
cmp dword [ebp + 0x14], 4
jae 0x4147b0
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x50]
add ecx, 0xdc
call fcn.0042d840
jmp 0x4148b8
mov edx, dword [ebp + 0x18]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x68]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x60]
add ecx, 0xdc
call fcn.0042d980
jmp 0x4148b8
mov edx, dword [ebp + 0x18]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push eax
add ecx, 0xdc
call fcn.0042d720
jmp 0x4148b8
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x70]
push eax
push ecx
mov ecx, dword [esp + 0x64]
push edx
add ecx, 0xdc
call fcn.0042d590
test eax, eax
je 0x41499c
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
jmp 0x41499c
mov edx, dword [ebp + 0x18]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push eax
add ecx, 0xdc
call fcn.0042dab0
jmp 0x41499c
mov ecx, dword [esp + 0x5c]
push ecx
lea edx, [esp + 0x274]
push edx
lea eax, [esp + 0x70]
push eax
call fcn.00414430
mov ecx, dword [ebp + 0x18]
mov eax, dword [esp + 0x58]
add esp, 0xc
push ecx
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x274]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
add ecx, 0xdc
call fcn.0042de70
jmp 0x41499c
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
add ecx, 0xdc
call fcn.0042dbe0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xc]
mov dword [edi], eax
mov dword [edi + 4], edx
mov ecx, dword [ebx + 4]
mov eax, edx
cmp eax, ecx
jb 0x414580
ja case.0x414620.5
mov ecx, dword [edi]
cmp ecx, dword [ebx]
jb 0x414580
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14