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

Disassembly:
sub esp, 0x60
mov eax, dword [esp + 0x64]
push ebx
push ebp
push esi
mov eax, dword [eax + 4]
mov ebx, ecx
push edi
xor edi, edi
mov dword [esp + 0x1c], ebx
push edi
mov ecx, dword [ebx + 0x54800]
xor esi, esi
inc eax
mov dword [esp + 0x28], esi
push edi
mov ebp, 0xff
mov dword [esp + 0x50], 0x707
mov edx, dword [ecx]
mov esi, 8
push eax
mov dword [esp + 0x58], 0x272f373f
mov dword [esp + 0x5c], 0x70f171f
mov dword [esp + 0x60], 0x70700
mov dword [esp + 0x64], 0x2f373f00
mov dword [esp + 0x68], 0xf171f27
mov dword [esp + 0x6c], 0x3030007
mov dword [esp + 0x70], 0x2f3f0000
mov word [esp + 0x74], 0xf1f
mov dword [esp + 0x76], 0
mov byte [esp + 0x7a], 0
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], 0
mov dword [esp + 0x34], edi
call dword [edx + 0xc]
mov eax, dword [ebx + 0x547fc]
mov edx, dword [esp + 0x74]
mov dword [eax + 8], edi
mov eax, dword [ebx + 0x547fc]
mov dword [eax + 4], edi
mov eax, dword [ebx + 0x547fc]
mov dword [eax], edi
movzx eax, word [ebx + 0x10]
movzx ecx, word [ebx + 0x12]
imul ecx, eax
mov eax, dword [edx + 8]
cmp eax, ecx
jbe 0x1016036d
mov dword [edx + 8], ecx
mov eax, ecx
mov ecx, dword [edx]
mov dword [esp + 0x34], ecx
cmp ecx, eax
jae 0x10160666
nop dword [eax + eax]
lea eax, [esp + 0x3c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x30], eax
jmp 0x10160396
mov ebx, dword [esp + 0x1c]
push 0
push esi
mov ecx, ebx
call fcn.10131da0
mov ecx, esi
shl di, cl
mov ecx, dword [esp + 0x24]
or ax, di
movzx ebx, ax
mov edx, ebx
test ecx, ecx
jns 0x101603c7
lea eax, [esi + ecx]
xor ecx, ecx
lea esi, [eax + 1]
cmp esi, 1
cmovl ecx, eax
mov dword [esp + 0x24], ecx
sub esi, 1
js 0x101603e1
nop dword [eax]
mov eax, ebx
mov cx, si
shr ax, cl
cmp al, 0xff
je 0x101603e1
sub esi, 1
jns 0x101603d0
test esi, esi
jle 0x10160413
mov edi, 1
lea ecx, [esi - 1]
shl di, cl
mov ecx, esi
mov eax, edi
and eax, ebx
lea edx, [ebx + eax*2]
mov eax, 0xffff
shl ax, cl
and dx, ax
lea eax, [edi - 1]
and eax, ebx
add eax, eax
or dx, ax
movzx ebx, dx
jmp 0x10160423
mov eax, edx
mov ebx, edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], ebx
test esi, esi
js 0x1016043d
mov ecx, dword [esp + 0x1c]
push 0
push 1
call fcn.10131da0
add ebx, eax
add esi, 0xfffffff8
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x28]
mov esi, ebp
movzx eax, ax
lea ebp, [esp + 0x4d]
movzx ecx, bx
xor ebx, ebx
sub ecx, eax
sar esi, 4
mov edi, dword [esp + 0x14]
add ebp, edi
lea eax, [ecx*4 + 4]
and eax, 0x3fffc
dec eax
movzx ecx, byte [ebp]
cdq
idiv esi
mov edx, eax
cmp ecx, edx
jle 0x10160482
mov ecx, ebp
movzx eax, byte [ecx + 1]
lea ecx, [ecx + 1]
inc ebx
cmp eax, edx
jg 0x10160476
lea ecx, [edi + ebx]
lea edi, [esp + 0x4d]
add edi, ecx
movzx eax, byte [edi]
imul eax, esi
sar eax, 2
mov dword [esp + 0x18], eax
test ebx, ebx
je 0x101604a9
movzx edx, byte [esp + ecx + 0x4c]
imul edx, esi
sar edx, 2
jmp 0x101604ad
mov edx, dword [esp + 0x20]
sub edx, eax
xor esi, esi
cmp edx, 0x80
jge 0x101604d2
nop dword [eax]
inc esi
mov eax, edx
mov ecx, esi
shl eax, cl
cmp eax, 0x80
jl 0x101604c0
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x28]
mov ecx, esi
shl ax, cl
movzx eax, ax
mov dword [esp + 0x28], eax
movzx eax, byte [ebp - 4]
shl edx, cl
mov dword [esp + 0x20], edx
mov edx, eax
mov dword [esp + 0x18], eax
mov al, byte [ebp - 3]
inc al
mov dword [esp + 0x38], edx
mov byte [ebp - 3], al
cmp al, byte [ebp - 2]
jbe 0x1016052a
movzx ecx, byte [ebp - 5]
mov eax, edx
inc eax
and eax, ecx
mov dword [esp + 0x18], eax
add eax, dword [esp + 0x14]
movzx ecx, byte [esp + eax + 0x4d]
movzx eax, byte [esp + eax + 0x4c]
sub eax, ecx
mov byte [ebp - 3], 1
sar eax, 2
mov byte [ebp - 2], al
mov eax, dword [esp + 0x14]
add eax, edx
lea edx, [esp + 0x4d]
add edx, eax
movzx ecx, byte [esp + eax + 0x4c]
movzx eax, byte [edx]
sub ecx, eax
cmp ecx, 1
jle 0x1016057a
mov ecx, dword [esp + 0x38]
cmp ebx, ecx
jge 0x10160560
mov ecx, ebx
nop
dec byte [edi]
lea edi, [edi + 1]
movzx eax, byte [ebp - 4]
inc ecx
cmp ecx, eax
jl 0x10160550
jmp 0x1016057a
cmp dword [esp + 0x18], ebx
jg 0x1016057a
cmp ecx, ebx
jge 0x1016057a
mov eax, ebx
sub eax, ecx
nop
inc byte [edx]
lea edx, [edx + 1]
sub eax, 1
jne 0x10160570
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x2c]
add eax, 0xd
mov byte [ebp - 4], cl
mov ecx, dword [esp + 0x30]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov dword [ecx], ebx
add ecx, 4
mov dword [esp + 0x30], ecx
cmp eax, 0x27
jl 0x10160392
mov bl, byte [esp + 0x44]
mov ecx, dword [esp + 0x3c]
mov al, cl
shl bl, 3
and al, 3
or bl, byte [esp + 0x40]
shl bl, 2
or bl, al
test cl, 4
je 0x101605d1
test bl, bl
je 0x101605cf
neg bl
jmp 0x101605d1
mov bl, 0x80
mov ebp, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x54800]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
add eax, 0xc
adc edx, 0
js 0x101605f7
jg 0x101605f5
mov ecx, dword [esp + 0x74]
cmp eax, dword [ecx + 0xc]
jb 0x101605f7
xor bl, bl
movzx ecx, word [ebp + 0x10]
movzx eax, word [ebp + 0x12]
mov ebp, dword [esp + 0x34]
imul ecx, eax
cmp ebp, ecx
jge 0x1016067a
mov edx, ebp
and edx, 1
add byte [esp + edx + 0x10], bl
mov ebx, dword [esp + 0x1c]
movzx ecx, byte [esp + edx + 0x10]
mov eax, dword [ebx + 0x2ac3c]
mov word [eax + ebp*2], cx
test edx, edx
jne 0x1016064c
movzx ecx, word [ebx + 0x12]
mov eax, ebp
cdq
idiv ecx
movzx ecx, word [ebx + 0x10]
mov edx, dword [esp + 0x78]
sub eax, ecx
and eax, 7
mov ecx, eax
sar edx, cl
test dl, 1
je 0x1016064c
add ebp, 2
mov edx, dword [esp + 0x74]
inc ebp
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x34], ebp
cmp ebp, dword [edx + 8]
mov ebp, dword [esp + 0x20]
jb 0x10160380
pop edi
pop esi
pop ebp
mov dword [ebx + 0x24f58], 0xff
pop ebx
add esp, 0x60
ret 8
push 0x103fa020
lea eax, [esp + 0x78]
mov dword [esp + 0x78], 5
push eax
call fcn.1026cad5
int3