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

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esi + 0x1c], 1
mov eax, dword [0x484488]
test eax, eax
push edi
je 0x41311e
mov eax, dword [eax + 0xc]
jmp 0x413120
xor eax, eax
imul eax, dword [0x484484]
mov ecx, dword [0x484480]
lea eax, [eax + ecx + 0x18]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x41313d
mov ecx, dword [ecx + 0xc]
jmp 0x41313f
xor ecx, ecx
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
imul edx, ecx
mov ecx, dword [edx + eax + 0x14]
test ecx, ecx
lea eax, [edx + eax + 8]
je 0x413159
mov ecx, dword [ecx + 0xc]
jmp 0x41315b
xor ecx, ecx
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
imul edx, ecx
mov ecx, dword [edx + eax + 0x640]
mov ebx, dword [edx + eax + 0x644]
mov dword [esp + 0x10], ecx
lea edi, [esi + 0x20]
mov ecx, edi
call fcn.00401620
lea ebp, [esi + 0x24]
mov ecx, ebp
call fcn.00401620
mov eax, dword [0x484228]
test eax, eax
je 0x413198
mov eax, dword [eax + 0xc]
jmp 0x41319a
xor eax, eax
imul eax, dword [0x484224]
mov ecx, dword [0x484220]
push 1
add eax, ecx
push edi
push ebx
mov ecx, eax
call fcn.00411b20
test eax, eax
mov dword [esi + 0x18], eax
jge 0x413231
mov eax, dword [0x484488]
test eax, eax
je 0x4131c9
mov eax, dword [eax + 0xc]
jmp 0x4131cb
xor eax, eax
imul eax, dword [0x484484]
mov edx, dword [0x484480]
mov ecx, dword [eax + edx + 0x24]
test ecx, ecx
lea eax, [eax + edx + 0x18]
je 0x4131e9
mov ecx, dword [ecx + 0xc]
jmp 0x4131eb
xor ecx, ecx
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
imul edx, ecx
mov ecx, dword [edx + eax + 0x14]
test ecx, ecx
lea eax, [edx + eax + 8]
je 0x413205
mov ecx, dword [ecx + 0xc]
jmp 0x413207
xor ecx, ecx
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
imul edx, ecx
mov ecx, dword [edx + eax + 0x650]
push ecx
push 0x46c53c
call fcn.0042e080
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret 4
mov eax, dword [esi + 0x44]
xor edi, edi
cmp eax, edi
je 0x41323f
mov eax, dword [eax + 0xc]
jmp 0x413241
xor eax, eax
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0x3c]
imul ecx, eax
push edi
push 0xffffffffffffffff
add ecx, edx
call fcn.0042b540
mov ebx, dword [esp + 0x10]
cmp bx, 0xffff
je 0x4132ef
mov eax, dword [0x484488]
cmp eax, edi
je 0x413271
mov eax, dword [eax + 0xc]
jmp 0x413273
xor eax, eax
imul eax, dword [0x484484]
mov edx, dword [0x484480]
mov ecx, dword [eax + edx + 0x34]
cmp ecx, edi
lea eax, [eax + edx + 0x28]
je 0x413291
mov edx, dword [ecx + 0xc]
jmp 0x413293
xor edx, edx
mov ecx, dword [eax + 8]
imul ecx, edx
mov edx, dword [eax + 4]
movzx eax, bx
add ecx, edx
push eax
call fcn.0041b960
push eax
mov ecx, ebp
call fcn.00401c10
mov eax, dword [esi + 0x64]
cmp eax, edi
je 0x4132bb
mov edx, dword [eax + 0xc]
jmp 0x4132bd
xor edx, edx
mov eax, dword [esi + 0x44]
cmp eax, edi
je 0x4132c9
mov ecx, dword [eax + 0xc]
jmp 0x4132cb
xor ecx, ecx
mov eax, dword [esi + 0x40]
mov ebx, dword [esi + 0x3c]
imul eax, ecx
mov ecx, dword [esi + 0x60]
mov ebp, dword [esi + 0x5c]
imul ecx, edx
push edi
push edi
add eax, ebx
mov eax, dword [eax + 0x64]
mov ebx, dword [eax]
add ecx, ebp
push edi
push ecx
mov ecx, eax
call dword [ebx + 4]
mov eax, dword [esi + 0x54]
cmp eax, edi
je 0x4132fb
mov edx, dword [eax + 0xc]
jmp 0x4132fd
xor edx, edx
mov eax, dword [esi + 0x44]
cmp eax, edi
je 0x413309
mov ecx, dword [eax + 0xc]
jmp 0x41330b
xor ecx, ecx
mov eax, dword [esi + 0x40]
imul eax, ecx
add eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x50]
mov eax, dword [eax + 0x64]
imul ecx, edx
mov edx, dword [esi + 0x4c]
mov ebx, dword [eax]
push edi
push 0x24
add ecx, edx
push edi
push ecx
mov ecx, eax
call dword [ebx + 4]
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0xc]
cmp eax, edi
je 0x41333d
mov edx, dword [eax + 0xc]
jmp 0x41333f
xor edx, edx
mov eax, dword [ecx + 8]
imul eax, edx
add eax, dword [ecx + 4]
mov ebp, 1
mov dword [eax + 4], edi
mov dword [eax + 0x10], ebp
cmp dword [esp + 0x3c], edi
mov ebx, 4
je 0x413386
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x1c]
add ecx, 0x10
cmp eax, edi
je 0x413370
mov edx, dword [eax + 0xc]
jmp 0x413372
xor edx, edx
mov eax, dword [ecx + 8]
imul eax, edx
add eax, dword [ecx + 4]
mov dword [eax + 4], edi
mov dword [eax + 0x10], ebp
jmp 0x41341f
mov eax, dword [0x4844b8]
cmp eax, edi
je 0x413394
mov eax, dword [eax + 0xc]
jmp 0x413396
xor eax, eax
imul eax, dword [0x4844b4]
mov edx, dword [0x4844b0]
cmp dword [eax + edx + 0x98], edi
jne 0x4133db
push 6
call fcn.0042a9a0
add esp, 4
test eax, eax
jne 0x4133db
mov ecx, dword [esi + 0xc]
add ecx, 0x10
call fcn.00405230
mov dword [eax + 4], edi
mov dword [eax + 0x10], ebp
mov ecx, dword [esi + 0xc]
add ecx, 0x10
call fcn.00405230
mov dword [eax + 0x18], edi
jmp 0x41341f
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x1c]
add ecx, 0x10
cmp eax, edi
je 0x4133ed
mov edx, dword [eax + 0xc]
jmp 0x4133ef
xor edx, edx
mov eax, dword [ecx + 8]
imul eax, edx
add eax, dword [ecx + 4]
mov dword [eax + 4], ebx
mov dword [eax + 0x10], edi
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x1c]
add eax, 0x10
cmp ecx, edi
je 0x413410
mov ecx, dword [ecx + 0xc]
jmp 0x413412
xor ecx, ecx
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
imul edx, ecx
mov dword [edx + eax + 0x18], ebp
mov eax, dword [0x4844b8]
cmp eax, edi
je 0x41342d
mov eax, dword [eax + 0xc]
jmp 0x41342f
xor eax, eax
imul eax, dword [0x4844b4]
mov ecx, dword [0x4844b0]
mov dl, byte [eax + ecx + 0xa0]
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x2c]
add ecx, 0x20
test dl, 2
je 0x413476
cmp eax, edi
je 0x413466
mov edx, dword [eax + 0xc]
mov eax, dword [ecx + 8]
imul eax, edx
add eax, dword [ecx + 4]
mov dword [eax + 4], ebx
jmp 0x41348d
mov eax, dword [ecx + 8]
xor edx, edx
imul eax, edx
add eax, dword [ecx + 4]
mov dword [eax + 4], ebx
jmp 0x41348d
cmp eax, edi
je 0x41347f
mov edx, dword [eax + 0xc]
jmp 0x413481
xor edx, edx
mov eax, dword [ecx + 8]
imul eax, edx
add eax, dword [ecx + 4]
mov dword [eax + 4], edi
mov dword [eax + 0x10], ebp
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x3c]
add ecx, 0x30
cmp eax, edi
je 0x4134a2
mov edx, dword [eax + 0xc]
jmp 0x4134a4
xor edx, edx
mov eax, dword [ecx + 8]
imul eax, edx
add eax, dword [ecx + 4]
mov dword [eax + 4], edi
mov dword [eax + 0x10], ebp
mov eax, dword [esi + 0x44]
cmp eax, edi
je 0x4134bf
mov eax, dword [eax + 0xc]
jmp 0x4134c1
xor eax, eax
mov ecx, dword [esi + 0x40]
mov ebx, dword [esi + 0x3c]
imul ecx, eax
lea edx, [esp + 0x18]
push edx
add ecx, ebx
call fcn.0042b710
mov ecx, dword [esi + 0x6c]
mov eax, dword [esi + 0x68]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call dword [0x466568]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00412140
mov eax, dword [0x4844b8]
cmp eax, edi
je 0x413503
mov eax, dword [eax + 0xc]
jmp 0x413505
xor eax, eax
imul eax, dword [0x4844b4]
mov edx, dword [0x4844b0]
mov eax, dword [eax + edx + 0x28]
mov dword [esi + 0x78], eax
mov eax, dword [0x4844b8]
cmp eax, edi
je 0x413527
mov eax, dword [eax + 0xc]
jmp 0x413529
xor eax, eax
imul eax, dword [0x4844b4]
mov ecx, dword [0x4844b0]
mov edx, dword [eax + ecx + 0x2c]
mov ecx, dword [esi + 0x18]
xor eax, eax
cmp ecx, edi
mov dword [esi + 0x7c], edx
je 0x413548
mov eax, ebp
push eax
push edi
call fcn.0040ad90
lea eax, [esp + 0x30]
push eax
call fcn.00402b20
mov ecx, dword [esi + 0x44]
add esp, 0xc
cmp ecx, edi
je 0x413568
mov ecx, dword [ecx + 0xc]
jmp 0x41356a
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp edx, edi
je 0x413576
mov edx, dword [edx + 0xc]
jmp 0x413578
xor edx, edx
mov ebx, dword [esi + 0x40]
imul ebx, ecx
add ebx, dword [esi + 0x3c]
mov ecx, dword [eax + 8]
imul ecx, edx
mov edx, dword [eax + 4]
mov dword [ecx + edx + 0x34], ebx
lea ecx, [esp + 0x28]
call fcn.004027a0
mov ax, word [esp + 0x12]
mov dword [esi + 0x2c], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x90], edi
pop edi
mov word [esi + 0x28], ax
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x28
ret 4