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

Disassembly:
mov ecx, dword [0xe11d80]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x88]
cmp eax, dword [ecx + 8]
jbe 0x616310
sub esp, 0x108
mov eax, 0
mov dword [esp + 0x104], eax
mov byte [esp + 0x2b], 0
mov eax, dword [esp + 0x11c]
mov ecx, eax
and eax, 0x1f
mov dword [esp + 0x44], eax
nop
cmp eax, 0x14
ja 0x615a2a
lea edx, [eax - 0x12]
cmp edx, 1
jbe 0x615a4d
cmp eax, 0x14
je 0x615a34
jmp 0x6162c9
cmp eax, 0x16
jbe 0x615a4d
cmp eax, 0x17
jne 0x615a44
mov edx, dword [esp + 0x118]
mov ebx, dword [edx]
test ebx, ebx
setne bl
jmp 0x615a76
cmp eax, 0x1a
jne 0x6162c9
test ecx, 0x200
jne 0x615aa4
test ecx, 0x80
je 0x615a68
mov edx, dword [esp + 0x118]
mov ebx, dword [edx]
jmp 0x615a71
mov edx, dword [esp + 0x118]
mov ebx, edx
test ebx, ebx
setne bl
test bl, bl
jne 0x615aab
mov eax, dword [esp + 0x110]
test byte [eax], al
mov dword [esp], eax
lea eax, [0x9624c5]
mov dword [esp + 4], eax
mov dword [esp + 8], 4
call fcn.0047cba0
add esp, 0x108
ret
mov edx, dword [esp + 0x118]
mov ebx, dword [esp + 0x110]
mov ebp, dword [ebx + 0x14]
inc ebp
mov dword [ebx + 0x14], ebp
cmp ebp, 0x3e8
ja 0x615ac8
xor ebp, ebp
jmp 0x615bdf
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004992e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
lea ecx, [0x8da020]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov edx, dword [esp + 0x110]
mov ebx, dword [edx + 0x18]
lea ebp, [0x8df440]
mov dword [esp], ebp
mov dword [esp + 4], ebx
lea ebx, [esp + 0x70]
mov dword [esp + 8], ebx
call fcn.0040d330
movzx eax, byte [esp + 0x10]
test al, al
je 0x615b36
mov eax, dword [esp + 0x11c]
test eax, eax
jne 0x616159
jmp 0x616297
lea eax, [0x8da020]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x110]
mov ebx, dword [edx + 0x18]
lea ebp, [0x8df440]
mov dword [esp], ebp
mov dword [esp + 4], ebx
lea ebx, [esp + 0x70]
mov dword [esp + 8], ebx
call fcn.0040d6b0
mov eax, dword [esp + 0xc]
test byte [eax], al
mov eax, dword [esp + 0x110]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea edx, [0x6163a0]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
lea ecx, [0x8da020]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x104], ecx
mov byte [esp + 0x2b], 1
mov ebx, eax
mov ebp, 1
xchg ebp, eax
mov byte [esp + 0x2a], al
xchg ebp, eax
mov dword [esp], ebx
mov byte [esp + 4], 0x7b
call fcn.0047d0a0
mov eax, dword [esp + 0x44]
cmp eax, 0x17
jne 0x615c07
mov ecx, dword [esp + 0x118]
mov edx, dword [ecx + 4]
jmp 0x615c30
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov ecx, dword [esp + 0x118]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x11c]
mov dword [esp + 8], edx
call fcn.00497330
mov edx, dword [esp + 0xc]
mov dword [esp + 0x2c], edx
lea eax, [0x90b180]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.0044e6e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
nop
mov ecx, dword [esp + 0x44]
cmp ecx, 0x15
je 0x615c6f
mov eax, dword [esp + 0x11c]
mov dword [esp], eax
call fcn.00497c90
mov eax, dword [esp + 0x5c]
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.00469921
mov ecx, dword [esp + 0x114]
mov dword [esp + 0xc8], ecx
mov edx, dword [esp + 0x118]
mov dword [esp + 0xcc], edx
mov ebx, dword [esp + 0x11c]
mov dword [esp + 0xd0], ebx
xor eax, eax
jmp 0x615cb2
mov ecx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [esp + 0x34], eax
lea ecx, [esp + 0xc8]
mov dword [esp], ecx
call fcn.00497ba0
movzx eax, byte [esp + 4]
test al, al
je 0x615db4
lea eax, [esp + 0xc8]
mov dword [esp], eax
call fcn.00497a00
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jae 0x616154
shl eax, 5
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x5c]
lea esi, [ebp + eax]
mov dword [esp + 0x58], esi
mov edi, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [ebp + eax + 8], ebx
mov ebx, dword [0xe12160]
test ebx, ebx
je 0x615d36
mov ebx, edi
call fcn.004696b0
mov dword [edi], ebx
mov edx, dword [ebp + eax]
mov dword [edi + 4], edx
mov dword [edi + 8], ecx
mov edx, dword [ebp + eax + 4]
mov dword [edi + 0xc], edx
mov edi, ebx
mov dword [esp + 0x40], eax
mov dword [ebp + eax], edi
mov dword [ebp + eax + 4], ecx
lea ecx, [esp + 0xc8]
mov dword [esp], ecx
call fcn.00497ad0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x5c]
mov dword [ebp + ebx + 0x14], eax
mov eax, dword [0xe12160]
test eax, eax
je 0x615d8b
call fcn.004696b0
mov dword [edi], ecx
mov eax, dword [ebp + ebx + 0xc]
mov dword [edi + 4], eax
mov dword [edi + 8], edx
mov eax, dword [ebp + ebx + 0x10]
mov dword [edi + 0xc], eax
mov dword [ebp + ebx + 0xc], ecx
mov dword [ebp + ebx + 0x10], edx
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.006177e0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
je 0x615cab
jmp 0x615fcd
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00409bf0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
lea ecx, [0x616320]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], edx
lea ebx, [0x8c6740]
mov dword [esp], ebx
mov dword [esp + 4], eax
lea eax, [esp + 0x88]
mov dword [esp + 8], eax
call fcn.00504950
mov eax, dword [esp + 0x5c]
xor ecx, ecx
jmp 0x615f45
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0xc4]
mov ebx, dword [esp + 0x110]
mov ebp, dword [ebx + 4]
mov esi, dword [ebx + 8]
sub esi, ebp
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and ebp, esi
add ebp, dword [ebx]
inc ecx
mov dword [esp + 0x40], ecx
lea esi, [0xa2c890]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], 0
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
movzx eax, byte [esp + 0x121]
mov byte [esp + 0x18], al
call fcn.0061d900
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x110]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.0047cad0
mov eax, dword [esp + 0x110]
mov dword [esp], eax
mov byte [esp + 4], 0x3a
call fcn.0047d0a0
mov edx, dword [esp + 0x10c]
mov eax, dword [edx]
mov ecx, dword [esp + 0xb4]
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0xbc]
mov esi, dword [esp + 0x110]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
movzx ecx, byte [esp + 0x120]
mov byte [esp + 0x10], cl
movzx ebx, byte [esp + 0x121]
mov byte [esp + 0x11], bl
call eax
mov eax, dword [esp + 0x5c]
add eax, 0x20
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
cmp ecx, edx
jge 0x615f8c
mov dword [esp + 0x30], ecx
mov dword [esp + 0x5c], eax
lea edi, [esp + 0xa8]
mov esi, eax
call fcn.00469df0
mov ecx, dword [esp + 0x30]
test ecx, ecx
jle 0x615e4e
mov eax, dword [esp + 0x110]
mov dword [esp], eax
mov byte [esp + 4], 0x2c
call fcn.0047d0a0
mov ecx, dword [esp + 0x30]
jmp 0x615e4e
mov eax, dword [esp + 0x110]
mov dword [esp], eax
mov byte [esp + 4], 0x7d
call fcn.0047d0a0
mov eax, dword [esp + 0x110]
dec dword [eax + 0x14]
movzx eax, byte [esp + 0x2a]
test al, 1
je 0x615fc6
and eax, 0xfffffffe
mov byte [esp + 0x2b], al
mov edx, dword [esp + 0x104]
mov eax, dword [edx]
call eax
add esp, 0x108
ret
mov dword [esp + 0x38], eax
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x11c]
test edx, edx
je 0x616129
test edx, 0x200
jne 0x616129
lea edx, [0xa32404]
mov ebx, dword [esp + 0x114]
mov eax, dword [edx + 0x80]
mov dword [esp], ebx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x38]
mov edx, dword [edx + 0x10]
mov ebx, dword [esp + 0x4c]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov edx, dword [esp + 0x54]
mov dword [esp], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 4], edx
call fcn.00409b70
mov eax, dword [esp + 8]
lea ecx, [0x8d9c60]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.00409b70
mov eax, dword [esp + 8]
lea ecx, [0x8d9c60]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
lea eax, [0x97d882]
mov dword [esp], eax
mov dword [esp + 4], 0x24
lea eax, [esp + 0x98]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.00535230
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
lea eax, [0x905560]
mov dword [esp], eax
lea ecx, [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.00409930
mov eax, dword [esp + 8]
lea ecx, [0x905560]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00438c00
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00499190
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
jmp 0x615ffd
call fcn.004696f0
test eax, 0x200
jne 0x616297
lea ecx, [0xa32404]
mov edx, dword [esp + 0x114]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
test ecx, ecx
je 0x616188
mov ecx, dword [ecx + 4]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
lea eax, [0x976bea]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
lea eax, [esp + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00537e00
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x40], ecx
lea edx, [0x8ff8a0]
mov dword [esp], edx
call fcn.0040c320
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x11c]
mov dword [eax + 8], ecx
mov ecx, dword [0xe12160]
test ecx, ecx
jne 0x61627a
mov ecx, dword [esp + 0x114]
mov dword [eax], ecx
mov ecx, dword [esp + 0x118]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x10], ecx
mov ecx, dword [0xe12160]
test ecx, ecx
jne 0x61626d
mov ecx, dword [esp + 0x54]
mov dword [eax + 0xc], ecx
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea ecx, [0xa2d848]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
lea eax, [0x905560]
mov dword [esp], eax
lea ecx, [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.00409930
mov eax, dword [esp + 8]
lea ecx, [0x905560]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00438c00
call fcn.00469680
mov ecx, dword [esp + 0x54]
mov dword [edi], ecx
jmp 0x61621c
call fcn.00469690
mov ecx, dword [esp + 0x114]
mov dword [edi], ecx
mov edx, dword [esp + 0x118]
mov dword [edi + 4], edx
jmp 0x6161f8
mov ecx, dword [esp + 0x114]
mov dword [esp], ecx
mov edx, dword [esp + 0x118]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00499190
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x11c]
jmp 0x616171
lea eax, [0x901dc0]
mov dword [esp], eax
call fcn.0040c320
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x970d85]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
lea ecx, [0x8e98c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00438c00
nop
call fcn.00438180
add esp, 0x108
ret
call fcn.00468280
jmp fcn.006159d0