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

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x7c], 0
mov dword [esp + 0x10], 0
jbe 0x41351e
jmp 0x4132e0
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x78]
add ecx, ecx
add ecx, ecx
mov esi, dword [ecx + eax]
mov eax, dword [edi + 8]
add eax, ecx
mov cl, byte [edi + 0x60]
test cl, cl
je 0x413304
mov dword [esp + 0x14], 1
jmp 0x41330a
mov edx, dword [eax]
mov dword [esp + 0x14], edx
test cl, cl
je 0x413316
mov eax, dword [eax]
mov dword [esp + 0x18], eax
jmp 0x41331e
mov dword [esp + 0x18], 1
mov ebx, dword [esi + 0x74]
test ebx, ebx
je 0x41334d
mov ecx, dword [esi + 0x70]
mov ebp, dword [ecx + ebx*4 - 4]
dec ebx
test ebp, ebp
je 0x413349
mov eax, dword [ebp]
test eax, eax
je 0x413340
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
push ebp
call fcn.0041a71a
add esp, 4
test ebx, ebx
jne 0x413325
mov eax, dword [esp + 0x14]
mov dword [esi + 0x74], 0
test eax, eax
je 0x41340a
mov dword [esp + 0x1c], eax
mov ebx, 1
lea esp, [esp]
push 4
call fcn.0041a79e
add esp, 4
test eax, eax
je 0x41338a
mov dword [eax], 0
mov dword [esp + 0x14], eax
jmp 0x413392
mov dword [esp + 0x14], 0
mov eax, dword [esi + 0x78]
cmp dword [esi + 0x74], eax
jne 0x4133f0
mov ecx, eax
shr ecx, 2
lea ebp, [ecx + eax + 1]
xor ecx, ecx
mov eax, ebp
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041a79e
mov ebx, eax
mov eax, dword [esi + 0x74]
add esp, 4
test eax, eax
je 0x4133d9
mov ecx, dword [esi + 0x70]
add eax, eax
add eax, eax
push eax
push ecx
push ebx
call fcn.0041ad60
add esp, 0xc
mov edx, dword [esi + 0x70]
push edx
call fcn.0041a71a
mov dword [esi + 0x70], ebx
add esp, 4
mov dword [esi + 0x78], ebp
mov ebx, 1
mov eax, dword [esi + 0x74]
mov ecx, dword [esi + 0x70]
mov edx, dword [esp + 0x14]
mov dword [ecx + eax*4], edx
add dword [esi + 0x74], ebx
sub dword [esp + 0x1c], ebx
jne 0x413370
mov ebx, dword [esi + 0x80]
test ebx, ebx
je 0x41343c
mov eax, dword [esi + 0x7c]
mov ebp, dword [eax + ebx*4 - 4]
dec ebx
test ebp, ebp
je 0x413438
mov eax, dword [ebp]
test eax, eax
je 0x41342f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push ebp
call fcn.0041a71a
add esp, 4
test ebx, ebx
jne 0x413414
cmp dword [esp + 0x18], 0
mov dword [esi + 0x80], 0
jbe 0x41350c
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov ebx, 1
mov edi, edi
push 4
call fcn.0041a79e
add esp, 4
test eax, eax
je 0x41347a
mov dword [eax], 0
mov dword [esp + 0x1c], eax
jmp 0x413482
mov dword [esp + 0x1c], 0
mov eax, dword [esi + 0x84]
cmp dword [esi + 0x80], eax
jne 0x4134ec
mov ecx, eax
shr ecx, 2
lea ebp, [ecx + eax + 1]
xor ecx, ecx
mov eax, ebp
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041a79e
mov ebx, eax
mov eax, dword [esi + 0x80]
add esp, 4
test eax, eax
je 0x4134d2
mov ecx, dword [esi + 0x7c]
add eax, eax
add eax, eax
push eax
push ecx
push ebx
call fcn.0041ad60
add esp, 0xc
mov edx, dword [esi + 0x7c]
push edx
call fcn.0041a71a
mov dword [esi + 0x7c], ebx
add esp, 4
mov dword [esi + 0x84], ebp
mov ebx, 1
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x7c]
mov edx, dword [esp + 0x1c]
mov dword [ecx + eax*4], edx
add dword [esi + 0x80], ebx
sub dword [esp + 0x18], ebx
jne 0x413460
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [edi + 0x7c]
jb 0x4132e0
cmp dword [edi + 0x18], 0
mov dword [esp + 0x10], 0
jbe 0x413657
mov eax, dword [edi + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [eax + ecx*8]
mov eax, dword [edx]
mov ecx, dword [edi + 0x3c]
mov ebx, dword [ecx + eax*4]
mov ecx, dword [edi + 0x30]
sub eax, dword [ecx + ebx*4]
mov cl, byte [edi + 0x60]
test cl, cl
je 0x413554
mov ebp, dword [edx + 4]
jmp 0x413556
mov ebp, ebx
test cl, cl
jne 0x41355d
mov ebx, dword [edx + 4]
xor edx, edx
test cl, cl
setne dl
movzx esi, cl
dec edx
and edx, eax
neg esi
sbb esi, esi
and esi, eax
mov eax, dword [edi + 0x78]
mov ecx, dword [eax + ebx*4]
mov ecx, dword [ecx + 0x7c]
mov ecx, dword [ecx + esi*4]
mov eax, dword [eax + ebp*4]
push ecx
mov ecx, dword [eax + 0x70]
mov eax, dword [edi + 0x6c]
mov dword [esp + 0x20], edx
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x14]
mov ecx, dword [eax + ecx*4]
push edx
call fcn.00416840
mov eax, dword [edi + 0x78]
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edx
mov eax, dword [eax + ebp*4]
mov ecx, dword [eax + 0x18]
cmp ecx, edx
je 0x4135b5
mov eax, ecx
jmp 0x4135b8
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x423e34
push eax
mov eax, dword [ecx]
call eax
mov ecx, dword [edi + 0x78]
mov eax, dword [ecx + ebx*4]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x4135da
mov eax, ecx
jmp 0x4135dd
mov eax, dword [eax + 0x1c]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x14]
push ecx
push 0x423e34
push eax
call edx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x413625
cmp dword [esp + 0x14], 0
je 0x413639
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax]
push 0x80000
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push 0x80000
push esi
push eax
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x413639
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x413645
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [edi + 0x18]
jb 0x413530
cmp byte [edi + 0x60], 0
mov ecx, dword [edi + 0x2c]
mov edx, dword [edi + 0x78]
mov eax, dword [edx + ecx*4]
mov ebx, dword [esp + 0x24]
je 0x41367f
mov esi, dword [ebx]
mov eax, dword [eax + 0x70]
mov ebp, dword [eax]
test esi, esi
je 0x413696
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
jmp 0x413696
mov ecx, dword [esp + 0x28]
mov esi, dword [ecx]
mov eax, dword [eax + 0x7c]
mov ebp, dword [eax]
test esi, esi
je 0x413696
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, dword [ebp]
test eax, eax
je 0x4136a5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp], esi
cmp dword [edi + 0x24], 0
mov dword [esp + 0x10], 0
jbe 0x41374b
mov eax, dword [esp + 0x28]
sub eax, ebx
mov ebp, ebx
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x20]
mov eax, dword [eax + ecx*4]
mov edx, dword [edi + 0x3c]
mov ecx, dword [edx + eax*4]
mov edx, dword [edi + 0x30]
sub eax, dword [edx + ecx*4]
cmp byte [edi + 0x60], 0
mov edx, dword [edi + 0x78]
mov ecx, dword [edx + ecx*4]
je 0x413711
mov edx, dword [esp + 0x28]
mov esi, dword [edx + ebp]
mov ecx, dword [ecx + 0x7c]
mov ebx, dword [ecx + eax*4]
test esi, esi
je 0x413701
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov eax, dword [ebx]
test eax, eax
je 0x413734
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x413734
mov esi, dword [ebp]
mov ecx, dword [ecx + 0x70]
mov ebx, dword [ecx + eax*4]
test esi, esi
je 0x413726
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, dword [ebx]
test eax, eax
je 0x413734
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
inc eax
mov dword [ebx], esi
add ebp, 4
mov dword [esp + 0x10], eax
cmp eax, dword [edi + 0x24]
jb 0x4136c6
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret 8