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

Disassembly:
sub esp, 0x24
mov ecx, dword [esp + 0x28]
push ebp
xor ebp, ebp
xor eax, eax
push esi
cmp ecx, ebp
push edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x14], ebp
jne 0x4138a7
mov eax, 0xe101
mov esi, dword [esp + 0x38]
cmp esi, ebp
jne 0x4138b4
mov eax, 0xe111
cmp dword [esp + 0x44], ebp
jne 0x4138bf
mov eax, 0xe306
cmp dword [esp + 0x4c], ebp
jne 0x4138ca
mov eax, 0xe309
cmp dword [esp + 0x3c], ebp
jne 0x4138d5
mov eax, 0xe11d
cmp dword [esp + 0x40], ebp
jne 0x4138e7
pop edi
pop esi
mov eax, 0xe11c
pop ebp
add esp, 0x24
ret
cmp eax, ebp
jne 0x413d20
mov edi, dword [esp + 0x54]
push ebx
push edi
push ecx
call fcn.0040ff50
mov ebx, eax
push edi
push esi
mov dword [esp + 0x4c], ebx
call fcn.0040ff50
add esp, 0x10
mov esi, eax
test ebx, ebx
mov dword [esp + 0x20], esi
je 0x413cf7
test esi, esi
je 0x413cf7
cmp dword [ebx], 0x2001
je 0x413936
mov dword [esp + 0x38], 0xe103
jmp 0x413cff
cmp dword [esi], 0x2002
je 0x41394b
mov dword [esp + 0x38], 0xe112
jmp 0x413cff
push edi
push ebx
call fcn.00419eb0
mov esi, eax
mov eax, dword [esp + 0x28]
neg esi
sbb esi, esi
push edi
push eax
inc esi
call fcn.00419e70
add esp, 0x10
neg eax
sbb eax, eax
inc eax
test esi, eax
jne 0x41397d
mov dword [esp + 0x38], 0xf003
jmp 0x413c72
mov esi, dword [ebx + 8]
mov dword [esp + 0x38], 0
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
mov ecx, dword [eax + 4]
mov edx, dword [edx + 4]
lea ebx, [ecx + 1]
cmp edx, ebx
jbe 0x4139a8
mov dword [esp + 0x38], 0xe103
jmp 0x413c72
mov eax, dword [eax + 8]
lea ebx, [edx*4]
mov dword [esp + 0x2c], ebx
lea ebx, [ecx*4]
add eax, 7
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x4c]
shr eax, 3
test ebx, ebx
mov dword [esp + 0x30], eax
je 0x413c5e
mov ebx, dword [esp + 0x54]
test ebx, ebx
je 0x413c6c
mov ebx, dword [esp + 0x48]
cmp dword [ebx], eax
jae 0x4139f8
mov dword [esp + 0x38], 0xe307
jmp 0x413c72
mov ebx, dword [esp + 0x50]
cmp dword [ebx], eax
jae 0x413a0d
mov dword [esp + 0x38], 0xe30a
jmp 0x413c72
mov eax, dword [esp + 0x2c]
cmp edx, ecx
ja 0x413a19
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
push edi
lea eax, [eax + ecx*2]
push eax
mov dword [esp + 0x30], eax
call fcn.0040ff80
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x413a45
mov dword [esp + 0x38], 0xf001
jmp 0x413c72
mov edx, dword [esp + 0x28]
push edi
push edx
push 0
push ebx
call fcn.00410020
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x2c]
shr eax, 2
mov ebp, ebx
push edi
lea ebx, [ebx + eax*4]
lea eax, [esp + 0x24]
shr ecx, 2
push eax
lea edx, [ebx + ecx*4]
lea ecx, [esp + 0x2c]
push ecx
push 0
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x5c]
push 0
push 0
push 0
push edx
call fcn.00419f00
add esp, 0x30
mov dword [esp + 0x38], eax
test eax, eax
jne 0x413c72
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
push edi
push eax
mov edx, dword [ecx + 8]
push edx
push ebp
call fcn.0040ffe0
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
add esp, 0x10
mov edx, dword [ecx + 4]
cmp edx, dword [eax + 4]
jbe 0x413ac6
push ebp
push eax
call dword [ecx + 0x20]
add esp, 8
mov eax, dword [esi + 0x18]
mov ecx, dword [esp + 0x40]
shl ecx, 3
cmp ecx, dword [eax + 8]
jbe 0x413b5d
mov edx, dword [esp + 0x40]
push edi
push edx
call fcn.0040ff80
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
je 0x413a38
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
push edi
push ecx
push edx
push eax
call fcn.0040ffe0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x18]
push ecx
lea edx, [esp + 0x6c]
mov ecx, dword [eax + 8]
push edx
push ecx
call fcn.0041a420
mov eax, dword [esi + 0x18]
mov edx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x38]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x64]
sub edx, eax
add edx, ecx
push edx
push eax
call fcn.0041a3b0
mov eax, dword [esp + 0x44]
push edi
push eax
call fcn.0040ffb0
add esp, 0x34
mov dword [esp + 0x18], 0
jmp 0x413b78
mov ecx, dword [esp + 0x24]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
call fcn.0041a3b0
add esp, 0x10
mov edx, dword [esp + 0x24]
mov eax, dword [esi + 0x18]
push ebp
push edx
push ebp
push eax
call dword [eax + 0x34]
mov eax, dword [esi + 0x18]
push ebp
push eax
call dword [eax + 0x4c]
add esp, 0x18
test eax, eax
jne 0x413bf6
mov eax, dword [esp + 0x54]
mov edx, dword [esi + 0x18]
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [edx + 4]
push ecx
push ebp
push eax
push 1
call fcn.00416f00
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x34]
push ebx
push ebp
mov dword [ecx], eax
mov ecx, dword [edx + 8]
mov eax, dword [esi + 0x18]
push ecx
push eax
call dword [eax + 0x40]
mov edx, dword [esp + 0x40]
push edi
push edx
push 0
push ebp
call fcn.00410020
mov ecx, dword [esp + 0x48]
mov eax, dword [esi + 0x18]
push ebx
push ebx
mov edx, dword [ecx + 8]
push edx
push eax
call dword [eax + 0x38]
mov eax, dword [esi + 0x18]
add esp, 0x44
push ebx
push eax
call dword [eax + 0x4c]
add esp, 8
test eax, eax
je 0x413c3c
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x10]
push edi
lea ecx, [esp + 0x18]
push eax
push ecx
push edx
call fcn.0041a2e0
add esp, 0x10
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push edi
push eax
push ecx
push 0
push 0
push 0
push 0
push edx
call fcn.00419f00
add esp, 0x20
mov dword [esp + 0x38], eax
test eax, eax
je 0x413a99
jmp 0x413c72
mov eax, dword [esp + 0x4c]
mov edx, dword [esi + 0x18]
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [edx + 4]
push ecx
push ebx
push eax
push 1
call fcn.00416f00
mov ecx, dword [esp + 0x5c]
add esp, 0x14
jmp 0x413c70
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x54]
test ecx, ecx
mov dword [edx], eax
jne 0x413c72
mov ecx, dword [esp + 0x50]
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x413c82
mov eax, dword [esp + 0x10]
test eax, eax
je 0x413c9c
mov ebx, dword [esp + 0x3c]
lea edx, [esp + 0x10]
push edi
lea eax, [esp + 0x18]
push edx
push eax
push ebx
call fcn.0041a2e0
add esp, 0x10
jmp 0x413ca0
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x18]
test esi, esi
je 0x413cc0
mov ecx, dword [esp + 0x40]
push edi
push ecx
push 0
push esi
call fcn.00410020
push edi
push esi
call fcn.0040ffb0
add esp, 0x18
test ebp, ebp
je 0x413cdc
mov edx, dword [esp + 0x28]
push edi
push edx
push 0
push ebp
call fcn.00410020
push edi
push ebp
call fcn.0040ffb0
add esp, 0x18
push edi
push ebx
call fcn.00419dd0
mov eax, dword [esp + 0x28]
push edi
push eax
call fcn.00419d40
mov esi, dword [esp + 0x30]
add esp, 0x10
jmp 0x413cff
mov dword [esp + 0x38], 0xf003
test ebx, ebx
je 0x413d0d
push edi
push ebx
call fcn.0040ff50
add esp, 8
test esi, esi
pop ebx
je 0x413d1c
push edi
push esi
call fcn.0040ff50
add esp, 8
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebp
add esp, 0x24
ret