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

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x18]
push edi
push ebx
push eax
lea esi, [eax + 0x18]
call fcn.10151a44
add esp, 0xc
test eax, eax
jne 0x10159778
mov eax, 0x14c
cmp ebx, eax
ja 0x1015961c
je 0x10159610
add eax, 0xffffffca
cmp ebx, eax
ja 0x10159584
je 0x1015957c
sub ebx, 0xfe
je 0x10159574
sub ebx, 4
je 0x1015956e
sub ebx, 5
je 0x10159568
sub ebx, 3
je 0x10159562
sub ebx, 8
je 0x1015955c
sub ebx, 3
jne 0x10159729
mov cx, word [esi + 0x36]
mov eax, dword [edi]
mov word [eax], cx
jmp 0x10159778
mov cx, word [esi + 0x34]
jmp 0x10159552
mov cx, word [esi + 0x32]
jmp 0x10159552
mov cx, word [esi + 0x30]
jmp 0x10159552
mov cx, word [esi + 0x28]
jmp 0x10159552
mov ecx, dword [esi + 0x24]
jmp 0x10159774
mov ecx, dword [esi + 0x38]
jmp 0x10159774
sub ebx, 0x118
je 0x10159607
dec ebx
je 0x101595fe
sub ebx, 3
je 0x101595f5
sub ebx, 0xc
je 0x101595ec
sub ebx, 5
jne 0x10159729
lea ebx, [esi + 0xe0]
cmp dword [ebx], 0
jne 0x101595b2
call fcn.101593d2
mov eax, dword [edi]
mov ecx, dword [ebx]
add edi, 4
mov dword [eax], ecx
movzx eax, word [esi + 0x78]
movzx ecx, word [esi + 0x36]
sub ecx, eax
xor eax, eax
inc eax
cmp ecx, eax
jle 0x1015977b
mov ecx, dword [edi]
mov edx, dword [esi + 0xe4]
add edi, 4
mov dword [ecx], edx
mov ecx, dword [edi]
mov edx, dword [esi + 0xe8]
mov dword [ecx], edx
jmp 0x1015977b
mov cx, word [esi + 0x58]
jmp 0x10159552
mov cx, word [esi + 0x5a]
jmp 0x10159552
mov cx, word [esi + 0x3e]
jmp 0x10159552
mov cx, word [esi + 0x3c]
jmp 0x10159552
mov cx, word [esi + 0xec]
jmp 0x10159552
mov eax, 0x213
cmp ebx, eax
ja 0x10159710
je 0x10159704
sub ebx, 0x14e
je 0x101596f8
dec ebx
dec ebx
je 0x101596d9
dec ebx
dec ebx
je 0x101596c5
dec ebx
je 0x101596bc
sub ebx, 0xbe
je 0x10159674
dec ebx
jne 0x10159729
mov cx, word [esi + 0xcc]
mov eax, dword [edi]
add edi, 4
mov word [eax], cx
mov cx, word [esi + 0xce]
jmp 0x10159552
cmp dword [esi + 0xc8], 0
jne 0x101596b1
push 0xc
call fcn.100d7f30
fld dword [0x101e5288]
mov dword [esi + 0xc8], eax
fstp dword [eax]
mov eax, dword [esi + 0xc8]
fld dword [0x101e5284]
fstp dword [eax + 4]
mov eax, dword [esi + 0xc8]
fld dword [0x101e5280]
pop ecx
fstp dword [eax + 8]
mov ecx, dword [esi + 0xc8]
jmp 0x10159774
mov cx, word [esi + 0x2a]
jmp 0x10159552
mov cx, word [esi + 0x78]
mov eax, dword [edi]
add edi, 4
mov word [eax], cx
mov ecx, dword [esi + 0x7c]
jmp 0x10159774
mov eax, dword [edi]
add edi, 4
xor ecx, ecx
mov word [eax], cx
mov cl, byte [esi + 0x28]
xor eax, eax
inc eax
mov edx, eax
shl edx, cl
mov ecx, dword [edi]
dec edx
mov word [ecx], dx
jmp 0x1015977b
mov cx, word [esi + 0xee]
jmp 0x10159552
mov cx, word [esi + 0xd0]
jmp 0x10159552
sub ebx, 0x214
je 0x10159762
sub ebx, 0x7ecf
je 0x10159744
dec ebx
je 0x10159737
dec ebx
je 0x10159732
dec ebx
je 0x1015972d
xor eax, eax
jmp 0x1015977b
mov ecx, dword [esi + 0x20]
jmp 0x10159774
mov ecx, dword [esi + 0x14]
jmp 0x10159774
mov ax, word [esi + 0x2a]
mov ecx, dword [edi]
dec ax
mov word [ecx], ax
jmp 0x10159778
xor eax, eax
inc eax
cmp word [esi + 0x78], ax
jne 0x10159759
mov ecx, dword [esi + 0x7c]
cmp word [ecx], ax
jne 0x10159759
mov ecx, eax
jmp 0x1015975b
xor ecx, ecx
mov edx, dword [edi]
mov word [edx], cx
jmp 0x1015977b
lea ebx, [esi + 0xdc]
cmp dword [ebx], 0
jne 0x10159772
call fcn.101594a6
mov ecx, dword [ebx]
mov eax, dword [edi]
mov dword [eax], ecx
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
ret