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

Disassembly:
sub esp, 0x10
mov ecx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov eax, dword [ecx]
mov esi, 0x140
mov edx, dword [ecx + 8]
cmp eax, 0x4a0054
push edi
mov edi, 0x180
mov dword [esp + 0x10], edx
cmovne edi, esi
mov byte [esp + 0xf], 1
add edi, dword [ecx + 0xc]
mov esi, 0x3cc
cmp eax, 0x4a0054
mov ecx, 0x434
mov eax, dword [esp + 0x28]
cmovne ecx, esi
mov dword [eax], 0
add ecx, ebp
je 0x4137ed
cmp byte [ecx + 0x3c], 0
je 0x4137ed
cmp dword [ebp + 0x8d8], 0
je 0x4137ed
mov eax, dword [ebp + 0x78]
test eax, eax
je 0x41358e
test byte [eax + 4], 0x10
je 0x41358e
add eax, 0x78
jmp 0x413594
lea eax, [ebp + 0x8dc]
push ebx
xor ebx, ebx
mov dword [esp + 0x1c], eax
cmp dword [ebp + 0x4a4], ebx
jbe 0x4137e1
xor eax, eax
mov dword [esp + 0x18], eax
nop dword [eax]
mov esi, dword [ebp + 0x8d8]
add esi, eax
cmp dword [esi + 0xc], 0
je 0x41379f
push dword [esi]
push dword [edx + 8]
call fcn.0041ccd0
add esp, 8
test eax, eax
je 0x41379b
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 4]
cmp byte [ecx + 0x1c9], 0
jne 0x4135f3
test eax, eax
je 0x41360f
jmp 0x41379b
test eax, eax
je 0x41379b
push eax
push dword [ecx + 0x64]
call fcn.0041ccd0
add esp, 8
test eax, eax
je 0x41379b
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x1c]
cmp byte [ecx + 0x1ca], 0
jne 0x41362c
cmp eax, 0xffffffff
je 0x413641
jmp 0x41379b
cmp eax, 0xffffffff
je 0x41379b
cmp dword [ecx + 0x444], eax
jne 0x41379b
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x10]
cmp eax, dword [esi + 0x18]
jne 0x41379f
mov eax, dword [ecx + 0x1e0]
push dword [esi + 8]
push dword [eax]
call fcn.0041ccd0
add esp, 8
test eax, eax
je 0x41379b
mov al, byte [edi + 0x38]
cmp al, byte [esi + 0x58]
jne 0x41379b
mov eax, dword [edi + 0x34]
cmp eax, dword [esi + 0x54]
jne 0x41379b
mov al, byte [edi + 0x30]
cmp al, byte [esi + 0x50]
jne 0x41379b
mov al, byte [edi + 0x39]
cmp al, byte [esi + 0x59]
jne 0x41379b
mov al, byte [edi + 0x3a]
cmp al, byte [esi + 0x5a]
jne 0x41379b
mov al, byte [edi + 0x3b]
cmp al, byte [esi + 0x5b]
jne 0x41379b
push dword [esi + 0x40]
push dword [edi + 0x20]
call fcn.00413b30
add esp, 8
test al, al
je 0x41379b
push dword [esi + 0x44]
push dword [edi + 0x24]
call fcn.00413b30
add esp, 8
test al, al
je 0x41379b
push dword [esi + 0x48]
push dword [edi + 0x28]
call fcn.00413b30
add esp, 8
test al, al
je 0x41379b
push dword [esi + 0x20]
push dword [edi]
call fcn.0041cba0
add esp, 8
test al, al
je 0x41379b
push dword [esi + 0x24]
push dword [edi + 4]
call fcn.0041cba0
add esp, 8
test al, al
je 0x41379b
push dword [esi + 0x28]
push dword [edi + 8]
call fcn.0041cba0
add esp, 8
test al, al
je 0x41379b
push dword [esi + 0x2c]
push dword [edi + 0xc]
call fcn.0041cba0
add esp, 8
test al, al
je 0x41379b
push dword [esi + 0x30]
push dword [edi + 0x10]
call fcn.0041ccd0
add esp, 8
test eax, eax
je 0x41379b
push dword [esi + 0x34]
push dword [edi + 0x14]
call fcn.0041ccd0
add esp, 8
test eax, eax
je 0x41379b
push dword [esi + 0x4c]
push dword [edi + 0x2c]
call fcn.0041ccd0
add esp, 8
test eax, eax
je 0x41379b
push dword [esi + 0x3c]
push dword [edi + 0x1c]
call fcn.0041ccd0
add esp, 8
test eax, eax
je 0x41379b
push dword [esi + 0x38]
push dword [edi + 0x18]
call fcn.0041ccd0
add esp, 8
test eax, eax
jne 0x4137b6
mov edx, dword [esp + 0x14]
add dword [esp + 0x18], 0x60
inc ebx
cmp ebx, dword [ebp + 0x4a4]
jae 0x4137e1
mov eax, dword [esp + 0x18]
jmp 0x4135b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
inc dword [eax]
mov eax, dword [eax]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
mov dword [ecx], eax
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x4137d7
mov eax, dword [esi + 0x10]
mov dword [ecx], eax
pop ebx
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x10
ret
mov al, byte [esp + 0x13]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x10
ret