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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0xc], esi
call fcn.0047cfd9
mov ecx, dword [ebp + 0x10]
call fcn.0040cfa9
mov edi, dword [esi + 0x270]
xor ecx, ecx
mov ebx, 0x8c
mov eax, edi
mov edx, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
je 0x41322c
dec edi
js 0x413224
add eax, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
call fcn.0049c9ec
add dword [ebp - 4], ebx
dec edi
jns 0x413216
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
jmp 0x413230
and dword [ebp - 0x10], 0
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
cmp dword [esi + 0x270], eax
je 0x41353a
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x268]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + ecx*4]
test byte [eax + 0x126], 0x10
mov dword [ebp - 0x1c], eax
je 0x413528
mov edx, dword [eax + 0x10c]
mov ebx, dword [ebp - 8]
inc dword [ebp - 0x14]
add dword [ebp - 8], 0x8c
push 5
pop ecx
lea esi, [edx + 0x14]
lea edi, [ebx + 4]
rep movsd dword es:[edi], dword [esi]
mov ax, word [edx + 0x85]
push 5
mov word [ebx + 0x38], ax
lea eax, [ebx + 0x1c]
pop ecx
mov esi, edx
mov edi, eax
push 0x14
mov dword [ebp - 0x18], edx
rep movsd dword es:[edi], dword [esi]
pop edx
mov ecx, eax
call fcn.00450cda
mov esi, dword [ebp - 0x1c]
mov ecx, esi
mov dword [ebx], eax
call fcn.00483f1a
mov ecx, eax
call fcn.0042876e
and dword [ebx + 0x18], 0
cmp dword [ebp + 0xc], 0
mov edi, dword [ebp - 0x18]
mov dword [ebx + 0x30], eax
je 0x4132df
mov eax, dword [edi + 0x28]
push 2
pop ecx
cmp ecx, eax
sbb ecx, ecx
and ecx, eax
call fcn.0042897a
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x58]
mov dword [ebx + 0x44], eax
mov eax, dword [esi + 0x6c]
mov dword [ebx + 0x40], eax
mov ecx, dword [esi + 0x118]
test ecx, ecx
jbe 0x41330a
mov eax, dword [esi + 0x11c]
imul eax, eax, 0x3e8
xor edx, edx
div ecx
mov dword [ebx + 0x3c], eax
jmp 0x41330e
and dword [ebx + 0x3c], 0
mov al, byte [ebx + 0x34]
xor al, byte [esi + 0x127]
and al, 1
xor byte [ebx + 0x34], al
mov cl, byte [esi + 0x127]
mov al, byte [ebx + 0x34]
xor cl, al
and cl, 2
xor cl, al
mov byte [ebx + 0x34], cl
mov al, byte [esi + 0x127]
shr al, 1
xor al, cl
and al, 4
xor al, cl
mov byte [ebx + 0x34], al
mov cl, byte [esi + 0x127]
shr cl, 1
xor cl, al
and cl, 8
xor cl, al
mov byte [ebx + 0x34], cl
mov al, byte [esi + 0x124]
mov cl, byte [esi + 0x124]
shl al, 2
xor al, byte [ebx + 0x35]
shl cl, 2
and al, 0x7f
xor al, cl
mov byte [ebx + 0x35], al
mov al, byte [esi + 0x127]
shr al, 2
xor al, byte [ebx + 0x34]
and al, 0x10
xor byte [ebx + 0x34], al
mov al, byte [esi + 0x128]
mov cl, byte [ebx + 0x34]
shl al, 5
xor al, cl
and al, 0x20
xor al, cl
mov byte [ebx + 0x34], al
mov cl, byte [esi + 0x124]
shl cl, 6
xor cl, al
and cl, 0x40
xor cl, al
mov byte [ebx + 0x34], cl
mov al, byte [edi + 0x7a]
shl al, 6
xor al, cl
mov cl, byte [edi + 0x7a]
and al, 0x7f
shl cl, 6
xor al, cl
mov byte [ebx + 0x34], al
mov al, byte [edi + 0x7a]
shr al, 3
xor al, byte [ebx + 0x35]
and al, 1
xor byte [ebx + 0x35], al
mov cl, byte [ebx + 0x35]
mov al, byte [edi + 0x7a]
shr al, 3
xor al, cl
and al, 2
xor al, cl
mov byte [ebx + 0x35], al
mov cl, byte [esi + 0x126]
xor cl, al
and cl, 4
xor cl, al
mov byte [ebx + 0x35], cl
mov al, byte [esi + 0xe]
shr al, 3
xor al, cl
and al, 8
xor al, cl
mov byte [ebx + 0x35], al
cmp byte [edi + 0x70], 0
setne cl
shl cl, 4
xor cl, al
and cl, 0x10
xor cl, al
mov byte [ebx + 0x35], cl
mov al, byte [esi + 0xe]
shr al, 2
xor al, cl
and al, 0x20
xor al, cl
mov byte [ebx + 0x35], al
mov cl, byte [esi + 0x126]
xor cl, al
and cl, 0x40
xor cl, al
mov byte [ebx + 0x35], cl
mov eax, dword [esi + 0x1ac]
mov dword [ebx + 0x48], eax
mov eax, dword [esi + 0x170]
mov dword [ebx + 0x4c], eax
mov eax, dword [esi + 0x174]
mov dword [ebx + 0x50], eax
mov eax, dword [esi + 0x194]
mov dword [ebx + 0x68], eax
mov eax, dword [esi + 0x10c]
mov ecx, dword [eax + 0x93]
mov dword [ebx + 0x54], ecx
mov eax, dword [eax + 0x97]
mov dword [ebx + 0x58], eax
mov eax, dword [esi + 0x10c]
mov ecx, dword [eax + 0x9b]
mov dword [ebx + 0x5c], ecx
mov eax, dword [eax + 0x9f]
mov dword [ebx + 0x60], eax
mov eax, dword [esi + 0x10c]
movzx eax, byte [eax + 0x71]
mov dword [ebx + 0x64], eax
mov al, byte [ebx + 0x36]
xor al, byte [esi + 0x126]
and al, 1
xor byte [ebx + 0x36], al
mov eax, dword [esi + 0x5c]
mov dword [ebx + 0x6c], eax
mov eax, dword [esi + 0x70]
mov dword [ebx + 0x70], eax
mov eax, dword [esi + 0x40]
mov dword [ebx + 0x78], eax
mov eax, dword [esi + 0x288]
test eax, eax
je 0x4134be
mov eax, dword [eax + 8]
jmp 0x4134c0
xor eax, eax
mov dword [ebx + 0x80], eax
mov eax, dword [esi + 0x220]
mov dword [ebx + 0x84], eax
fld dword [esi + 0x1f4]
call fcn.00401066
mov dword [ebx + 0x74], eax
mov eax, dword [0x88c8e0]
sub eax, dword [esi + 0x1e8]
and dword [ebx + 0x88], 0
cmp dword [ebp + 8], 0
mov dword [ebx + 0x7c], eax
je 0x413525
mov eax, dword [ebp - 0xc]
add eax, 0x178
cmp dword [eax], 0
jbe 0x413525
mov edi, dword [eax]
mov ecx, esi
call fcn.0048434b
imul eax, eax, 0x3e8
lea eax, [eax + edi - 1]
xor edx, edx
div edi
mov dword [ebx + 0x88], eax
mov esi, dword [ebp - 0xc]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x270]
jne 0x41324a
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
call fcn.0047cff8
pop edi
pop esi
pop ebx
leave
ret 0xc