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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1002ecdb
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x1004004c]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push esi
push edi
mov eax, dword [0x1004004c]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, ecx
cmp byte [edi + 0xa0], 0
je 0x10019510
cmp dword [edi + 0x164], 0
je 0x10019161
cmp byte [edi + 0x13c], 0
je 0x1001913c
mov esi, dword [edi + 0x140]
add esi, dword [edi + 0x148]
mov eax, dword [edi + 0x14c]
add eax, dword [edi + 0x144]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], eax
test esi, esi
jle 0x100185b7
mov eax, dword [edi]
mov edx, dword [eax + 0x8c]
call edx
cmp esi, eax
jge 0x100185b3
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
cmp esi, eax
jge 0x100185b3
mov eax, dword [esp + 0x18]
mov byte [esp + 0x27], 1
jmp 0x100185bc
mov eax, dword [esp + 0x18]
mov byte [esp + 0x27], 0
test eax, eax
jle 0x100185e2
mov edx, dword [edi]
mov eax, dword [edx + 0x90]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jge 0x100185e2
mov edx, dword [edi + 0x10]
sub edx, dword [edi + 8]
cmp ecx, edx
jge 0x100185e2
mov al, 1
jmp 0x100185e4
xor al, al
mov cl, byte [esp + 0x27]
test cl, cl
jne 0x100186d3
test al, al
jne 0x100186d3
cmp byte [edi + 0x13d], 0
mov edx, dword [edi + 4]
mov esi, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x3c], edx
jne 0x1001863f
mov ecx, dword [edi + 0x16c]
add ecx, edx
mov edx, dword [edi + 0x170]
sub eax, esi
cmp eax, edx
jle 0x10018633
mov eax, dword [edi + 0x10]
sub eax, esi
sub eax, edx
cdq
sub eax, edx
sar eax, 1
add esi, eax
mov eax, dword [edi + 0x170]
mov edx, dword [esp + 0x3c]
add eax, esi
sub ecx, edx
mov edx, dword [edi]
sub eax, esi
cmp byte [edi + 0x13f], 0
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x90]
mov dword [esp + 0x18], ecx
mov ecx, edi
je 0x10018698
push 0xfe
call eax
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x8c]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x48]
push 0
push 0
push ecx
push edx
push esi
push eax
push ebx
lea esi, [edi + 0x160]
call fcn.10017d60
jmp 0x10019161
push 0xff80ff
call eax
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x8c]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x48]
push 0
push 0
push ecx
push edx
push esi
push eax
lea esi, [edi + 0x160]
mov eax, ebx
call fcn.10017e90
jmp 0x10019161
cmp byte [edi + 0x13f], 0
je 0x10018c08
push 0xff
test cl, cl
je 0x10018b11
test al, al
je 0x10018a14
mov eax, dword [edi + 0x144]
mov ecx, dword [edi + 0x140]
mov edx, dword [edi + 4]
push eax
push ecx
push 0
push 0
push eax
push ecx
mov ecx, dword [edi + 8]
push ecx
push edx
lea esi, [edi + 0x160]
push ebx
call fcn.10017d60
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 0x144]
mov edx, dword [edi]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x140]
push 0xff
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0x8c]
push ecx
mov ecx, edi
call eax
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
sub eax, edx
push eax
mov eax, dword [edi + 0x144]
push 0
push ecx
push eax
mov eax, dword [esp + 0x38]
sub eax, edx
mov edx, dword [edi + 8]
push eax
mov eax, dword [edi + 4]
push edx
add eax, ecx
push eax
push ebx
call fcn.10017d60
mov ecx, dword [edi + 0x148]
mov edx, dword [edi + 0x144]
push 0xff
push edx
mov edx, dword [edi]
mov eax, ecx
push eax
mov eax, dword [edx + 0x8c]
mov dword [esp + 0x2c], ecx
push 0
mov ecx, edi
call eax
mov edx, dword [edi + 0x144]
mov ecx, eax
mov eax, dword [esp + 0x30]
sub ecx, eax
push ecx
mov ecx, dword [edi + 8]
push edx
mov edx, dword [edi + 0xc]
push eax
push ecx
sub edx, eax
push edx
push ebx
call fcn.10017d60
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 8]
mov ecx, dword [edi + 0x144]
mov edx, dword [edi]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x140]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], eax
push 0xff
mov ecx, edi
mov eax, dword [edx + 0x90]
call eax
sub eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x20]
push ecx
push edx
push 0
push eax
push ecx
mov ecx, dword [edi + 8]
add ecx, edx
mov edx, dword [edi + 4]
push ecx
push edx
push ebx
call fcn.10017d60
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 8]
mov ecx, dword [edi + 0x140]
mov edx, dword [edi]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x144]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x90]
push 0xff
mov ecx, edi
call eax
sub eax, dword [esp + 0x1c]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x8c]
mov ecx, edi
call eax
sub eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x24]
push ecx
push edx
push eax
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x34]
push eax
mov eax, dword [edi + 8]
add eax, ecx
mov ecx, dword [edi + 4]
push eax
add ecx, edx
push ecx
push ebx
call fcn.10017d60
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 8]
mov edx, dword [edi + 0x148]
mov dword [esp + 0x14], eax
mov eax, dword [edi]
mov dword [esp + 0x10], edx
mov edx, dword [eax + 0x90]
push 0xff
mov ecx, edi
call edx
sub eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x144]
mov edx, dword [edi]
push eax
mov eax, dword [edi + 0x148]
push eax
mov eax, dword [edx + 0x8c]
push ecx
mov ecx, edi
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [edi + 0x144]
add edx, dword [edi + 8]
sub eax, ecx
push eax
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x2c]
push eax
mov eax, dword [edi + 0xc]
push ecx
push edx
sub eax, ecx
push eax
push ebx
call fcn.10017d60
mov ecx, dword [edi + 0x14c]
mov eax, dword [edi + 0x140]
mov edx, ecx
push 0xff
push edx
mov edx, dword [edi]
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [edx + 0x90]
mov ecx, edi
call eax
mov edx, dword [edi + 0x140]
mov ecx, eax
mov eax, dword [esp + 0x1c]
sub ecx, eax
push ecx
mov ecx, dword [edi + 0x10]
push 0
push eax
push edx
mov edx, dword [edi + 4]
sub ecx, eax
push ecx
push edx
push ebx
call fcn.10017d60
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 0x140]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x14c]
mov edx, eax
mov dword [esp + 0x10], eax
mov eax, dword [edi]
push 0xff
mov dword [esp + 0x18], ecx
push edx
mov edx, dword [eax + 0x8c]
mov ecx, edi
call edx
sub eax, dword [esp + 0x24]
mov ecx, edi
push eax
mov eax, dword [edi]
mov edx, dword [eax + 0x90]
call edx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
sub eax, ecx
push eax
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x2c]
push edx
push ecx
push eax
mov eax, dword [edi + 0x10]
sub eax, ecx
mov ecx, dword [edi + 4]
push eax
add ecx, edx
push ecx
push ebx
call fcn.10017d60
mov edx, dword [edi + 0x148]
mov eax, dword [edi + 0x14c]
mov dword [esp + 0x10], edx
mov ecx, eax
push 0xff
push ecx
mov dword [esp + 0x1c], eax
mov eax, dword [edi]
push edx
mov edx, dword [eax + 0x90]
mov ecx, edi
call edx
sub eax, dword [edi + 0x14c]
mov ecx, edi
push eax
mov eax, dword [edi]
mov edx, dword [eax + 0x8c]
call edx
mov edx, dword [edi + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x20]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x28]
push ecx
sub edx, ecx
mov ecx, dword [edi + 0xc]
push eax
push edx
sub ecx, eax
push ecx
push ebx
call fcn.10017d60
jmp 0x10019161
mov edx, dword [edi + 0x140]
mov eax, dword [edi]
mov esi, dword [edi + 0x10]
sub esi, dword [edi + 8]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0x90]
mov ecx, edi
call edx
mov ecx, dword [edi + 4]
push eax
mov eax, dword [esp + 0x18]
push eax
push 0
push 0
push esi
push eax
mov eax, dword [edi + 8]
push eax
push ecx
push ebx
lea esi, [edi + 0x160]
call fcn.10017d60
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 8]
mov edx, dword [edi + 0x140]
mov esi, dword [edi + 0xc]
sub esi, dword [edi + 4]
mov dword [esp + 0x14], eax
mov eax, dword [edi]
mov dword [esp + 0x10], edx
mov edx, dword [eax + 0x90]
push 0xff
mov ecx, edi
call edx
push eax
mov eax, dword [edi]
mov edx, dword [eax + 0x8c]
mov ecx, edi
call edx
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
sub eax, ecx
push eax
mov eax, dword [esp + 0x1c]
push 0
push eax
push edx
mov edx, dword [edi + 4]
sub esi, ecx
mov ecx, dword [edi + 8]
push esi
push ecx
add edx, eax
push edx
push ebx
lea esi, [edi + 0x160]
call fcn.10017d60
mov eax, dword [edi + 0x148]
mov edx, dword [edi]
mov esi, dword [edi + 0x10]
sub esi, dword [edi + 8]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x90]
push 0xff
mov ecx, edi
call eax
mov ecx, dword [edi + 0x148]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x8c]
push ecx
push 0
mov ecx, edi
call eax
mov edx, dword [edi + 8]
mov ecx, eax
mov eax, dword [esp + 0x20]
sub ecx, eax
push ecx
push esi
push eax
mov ecx, dword [edi + 0xc]
push edx
sub ecx, eax
push ecx
push ebx
lea esi, [edi + 0x160]
call fcn.10017d60
jmp 0x10019161
mov edx, dword [edi + 0x144]
mov eax, dword [edi]
mov esi, dword [edi + 0xc]
sub esi, dword [edi + 4]
push edx
mov edx, dword [eax + 0x8c]
mov ecx, edi
call edx
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
push eax
mov eax, dword [edi + 0x144]
push 0
push 0
push eax
push esi
push ecx
push edx
push ebx
lea esi, [edi + 0x160]
call fcn.10017d60
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov edx, dword [edi]
mov esi, dword [edi + 0x10]
sub esi, dword [edi + 8]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x144]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x90]
push 0xff
mov ecx, edi
call eax
sub eax, dword [esp + 0x1c]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x8c]
mov ecx, edi
call eax
sub esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi + 8]
push eax
mov eax, dword [esp + 0x1c]
push eax
push 0
push esi
push ecx
add edx, eax
mov eax, dword [edi + 4]
push edx
push eax
push ebx
lea esi, [edi + 0x160]
call fcn.10017d60
mov ecx, dword [edi + 0x14c]
mov eax, dword [edi]
mov esi, dword [edi + 0xc]
sub esi, dword [edi + 4]
mov edx, ecx
push 0xff
mov dword [esp + 0x14], ecx
push edx
mov edx, dword [eax + 0x8c]
mov ecx, edi
call edx
push eax
mov eax, dword [edi]
mov edx, dword [eax + 0x90]
mov ecx, edi
call edx
mov edx, dword [edi + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x1c]
sub ecx, eax
push ecx
push 0
push eax
push esi
sub edx, eax
push edx
mov eax, dword [edi + 4]
push eax
push ebx
lea esi, [edi + 0x160]
call fcn.10017d60
jmp 0x10019161
push 0xff80ff
test cl, cl
je 0x10019045
test al, al
je 0x10018f45
mov eax, dword [edi + 0x144]
mov ecx, dword [edi + 0x140]
mov edx, dword [edi + 4]
push eax
push ecx
push 0
push 0
push eax
push ecx
mov ecx, dword [edi + 8]
push ecx
lea esi, [edi + 0x160]
push edx
mov eax, ebx
call fcn.10017e90
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 0x144]
mov edx, dword [edi]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x140]
push 0xff80ff
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x8c]
push ecx
mov ecx, edi
call eax
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
sub eax, edx
push eax
mov eax, dword [edi + 0x144]
push 0
push ecx
push eax
mov eax, dword [esp + 0x2c]
sub eax, edx
mov edx, dword [edi + 8]
push eax
mov eax, dword [edi + 4]
add eax, ecx
push edx
push eax
mov eax, ebx
call fcn.10017e90
mov ecx, dword [edi + 0x148]
mov edx, dword [edi + 0x144]
push 0xff80ff
push edx
mov edx, dword [edi]
mov eax, ecx
push eax
mov eax, dword [edx + 0x8c]
mov dword [esp + 0x1c], ecx
push 0
mov ecx, edi
call eax
mov edx, dword [edi + 0x144]
mov ecx, eax
mov eax, dword [esp + 0x20]
sub ecx, eax
push ecx
mov ecx, dword [edi + 8]
push edx
mov edx, dword [edi + 0xc]
push eax
sub edx, eax
push ecx
push edx
mov eax, ebx
call fcn.10017e90
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 8]
mov ecx, dword [edi + 0x144]
mov edx, dword [edi]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x140]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
push 0xff80ff
mov ecx, edi
mov eax, dword [edx + 0x90]
call eax
sub eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
push ecx
push edx
push 0
push eax
push ecx
mov ecx, dword [edi + 8]
add ecx, edx
mov edx, dword [edi + 4]
push ecx
push edx
mov eax, ebx
call fcn.10017e90
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 8]
mov ecx, dword [edi + 0x140]
mov edx, dword [edi]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x144]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x90]
push 0xff80ff
mov ecx, edi
call eax
sub eax, dword [esp + 0x1c]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x8c]
mov ecx, edi
call eax
sub eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
push ecx
push edx
push eax
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x34]
push eax
mov eax, dword [edi + 8]
add eax, ecx
mov ecx, dword [edi + 4]
push eax
add ecx, edx
push ecx
mov eax, ebx
call fcn.10017e90
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 8]
mov edx, dword [edi + 0x148]
mov dword [esp + 0x14], eax
mov eax, dword [edi]
mov dword [esp + 0x10], edx
mov edx, dword [eax + 0x90]
push 0xff80ff
mov ecx, edi
call edx
sub eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x144]
mov edx, dword [edi]
push eax
mov eax, dword [edi + 0x148]
push eax
mov eax, dword [edx + 0x8c]
push ecx
mov ecx, edi
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [edi + 0x144]
add edx, dword [edi + 8]
sub eax, ecx
push eax
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x2c]
push eax
mov eax, dword [edi + 0xc]
push ecx
sub eax, ecx
push edx
push eax
mov eax, ebx
call fcn.10017e90
mov ecx, dword [edi + 0x14c]
mov eax, dword [edi + 0x140]
mov edx, ecx
push 0xff80ff
push edx
mov edx, dword [edi]
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [edx + 0x90]
mov ecx, edi
call eax
mov edx, dword [edi + 0x140]
mov ecx, eax
mov eax, dword [esp + 0x1c]
sub ecx, eax
push ecx
mov ecx, dword [edi + 0x10]
push 0
push eax
push edx
mov edx, dword [edi + 4]
sub ecx, eax
push ecx
push edx
mov eax, ebx
call fcn.10017e90
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 0x140]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x14c]
mov edx, eax
mov dword [esp + 0x10], eax
mov eax, dword [edi]
push 0xff80ff
mov dword [esp + 0x18], ecx
push edx
mov edx, dword [eax + 0x8c]
mov ecx, edi
call edx
sub eax, dword [esp + 0x24]
mov ecx, edi
push eax
mov eax, dword [edi]
mov edx, dword [eax + 0x90]
call edx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
sub eax, ecx
push eax
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x2c]
push edx
push ecx
push eax
mov eax, dword [edi + 0x10]
sub eax, ecx
mov ecx, dword [edi + 4]
push eax
add ecx, edx
push ecx
mov eax, ebx
call fcn.10017e90
mov edx, dword [edi + 0x148]
mov eax, dword [edi + 0x14c]
mov dword [esp + 0x10], edx
mov ecx, eax
push 0xff80ff
push ecx
mov dword [esp + 0x1c], eax
mov eax, dword [edi]
push edx
mov edx, dword [eax + 0x90]
mov ecx, edi
call edx
sub eax, dword [edi + 0x14c]
mov ecx, edi
push eax
mov eax, dword [edi]
mov edx, dword [eax + 0x8c]
call edx
mov edx, dword [edi + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x20]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x28]
push ecx
sub edx, ecx
mov ecx, dword [edi + 0xc]
push eax
sub ecx, eax
push edx
push ecx
mov eax, ebx
call fcn.10017e90
jmp 0x10019161
mov edx, dword [edi + 0x140]
mov eax, dword [edi]
mov esi, dword [edi + 0x10]
sub esi, dword [edi + 8]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0x90]
mov ecx, edi
call edx
mov ecx, dword [edi + 4]
push eax
mov eax, dword [esp + 0x18]
push eax
push 0
push 0
push esi
push eax
mov eax, dword [edi + 8]
push eax
push ecx
mov eax, ebx
lea esi, [edi + 0x160]
call fcn.10017e90
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 8]
mov edx, dword [edi + 0x140]
mov esi, dword [edi + 0xc]
sub esi, dword [edi + 4]
mov dword [esp + 0x14], eax
mov eax, dword [edi]
mov dword [esp + 0x10], edx
mov edx, dword [eax + 0x90]
push 0xff80ff
mov ecx, edi
call edx
push eax
mov eax, dword [edi]
mov edx, dword [eax + 0x8c]
mov ecx, edi
call edx
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
sub eax, ecx
push eax
mov eax, dword [esp + 0x1c]
push 0
push eax
push edx
mov edx, dword [edi + 4]
sub esi, ecx
mov ecx, dword [edi + 8]
push esi
add edx, eax
push ecx
push edx
mov eax, ebx
lea esi, [edi + 0x160]
call fcn.10017e90
mov eax, dword [edi + 0x148]
mov edx, dword [edi]
mov esi, dword [edi + 0x10]
sub esi, dword [edi + 8]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x90]
push 0xff80ff
mov ecx, edi
call eax
mov ecx, dword [edi + 0x148]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x8c]
push ecx
push 0
mov ecx, edi
call eax
mov edx, dword [edi + 8]
mov ecx, eax
mov eax, dword [esp + 0x20]
sub ecx, eax
push ecx
push esi
push eax
mov ecx, dword [edi + 0xc]
sub ecx, eax
push edx
push ecx
mov eax, ebx
lea esi, [edi + 0x160]
call fcn.10017e90
jmp 0x10019161
mov edx, dword [edi + 0x144]
mov eax, dword [edi]
mov esi, dword [edi + 0xc]
sub esi, dword [edi + 4]
push edx
mov edx, dword [eax + 0x8c]
mov ecx, edi
call edx
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
push eax
mov eax, dword [edi + 0x144]
push 0
push 0
push eax
push esi
push ecx
push edx
mov eax, ebx
lea esi, [edi + 0x160]
call fcn.10017e90
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov edx, dword [edi]
mov esi, dword [edi + 0x10]
sub esi, dword [edi + 8]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x144]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x90]
push 0xff80ff
mov ecx, edi
call eax
sub eax, dword [esp + 0x1c]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x8c]
mov ecx, edi
call eax
sub esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi + 8]
push eax
mov eax, dword [esp + 0x1c]
push eax
push 0
push esi
add edx, eax
mov eax, dword [edi + 4]
push ecx
push edx
push eax
mov eax, ebx
lea esi, [edi + 0x160]
call fcn.10017e90
mov ecx, dword [edi + 0x14c]
mov eax, dword [edi]
mov esi, dword [edi + 0xc]
sub esi, dword [edi + 4]
mov edx, ecx
push 0xff80ff
mov dword [esp + 0x14], ecx
push edx
mov edx, dword [eax + 0x8c]
mov ecx, edi
call edx
push eax
mov eax, dword [edi]
mov edx, dword [eax + 0x90]
mov ecx, edi
call edx
mov edx, dword [edi + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x1c]
sub ecx, eax
push ecx
push 0
push eax
push esi
sub edx, eax
push edx
mov eax, dword [edi + 4]
push eax
mov eax, ebx
lea esi, [edi + 0x160]
call fcn.10017e90
jmp 0x10019161
mov edx, dword [edi]
mov eax, dword [edx + 0x90]
call eax
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x8c]
mov ecx, edi
call eax
push eax
lea esi, [edi + 0x160]
mov eax, ebx
call fcn.10017e10
cmp dword [edi + 0xbc], 0
jbe 0x10019510
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov esi, dword [edi + 0x10]
add eax, dword [edi + 0x150]
add ecx, dword [edi + 0x154]
sub edx, dword [edi + 0x158]
sub esi, dword [edi + 0x15c]
push ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], esi
call dword [sym.imp.GDI32.dll_SaveDC]
push 1
push ebx
mov dword [esp + 0x28], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp byte [edi + 0xa1], 0
mov dword [esp + 0x14], eax
je 0x100191cc
mov ecx, dword [edi + 0xe8]
push ecx
jmp 0x100191d3
mov edx, dword [edi + 0x134]
push edx
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov esi, edi
mov dword [esp + 0x18], eax
call fcn.1001d390
mov eax, dword [edi + 0xf4]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
lea esi, [edi + 0xa8]
push esi
lea ecx, [esp + 0xb4]
mov dword [esp + 0x14], eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov dword [esp + 0xf8], 0
cmp dword [esp + 0xc8], 8
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
jae 0x1001924e
lea eax, [esp + 0xb4]
mov edx, dword [esp + 0xc4]
push 0x400
lea ecx, [esp + 0x50]
push ecx
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x54]
cmp eax, dword [esp + 0x34]
jle 0x10019459
push 0x10033390
lea ecx, [esp + 0xd0]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [esp + 0xf8], 1
cmp dword [edi + 0x110], 0
je 0x100192e2
mov ecx, dword [edi + 0x110]
mov eax, dword [edi + 0xbc]
push ecx
sub eax, ecx
push eax
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0xd0]
mov byte [esp + 0xfc], 2
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x5c]
mov byte [esp + 0xf8], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [edi + 0xbc]
xor esi, esi
cmp dword [edi + 0x110], eax
jge 0x10019444
test esi, esi
jne 0x10019334
lea edx, [esp + 0xcc]
push edx
lea eax, [esp + 0x60]
push 0x10034bd0
push eax
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___wchar_t_const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 0xc
push eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0xfc], 3
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x5c]
jmp 0x100193dc
push esi
push 0
lea ecx, [esp + 0x64]
push ecx
lea ecx, [edi + 0xa8]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0xfc], 4
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x5c]
mov byte [esp + 0xf8], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push 0x10034bd0
lea edx, [esp + 0xb4]
push edx
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
lea ecx, [esp + 0xd8]
push ecx
push eax
lea edx, [esp + 0xa8]
push edx
mov byte [esp + 0x110], 5
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 0x18
push eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0xfc], 6
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x94]
mov byte [esp + 0xf8], 5
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x78]
mov byte [esp + 0xf8], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp dword [esp + 0xc8], 8
mov eax, dword [esp + 0xb4]
jae 0x10019402
lea eax, [esp + 0xb4]
mov edx, dword [esp + 0xc4]
push 0x400
lea ecx, [esp + 0x50]
push ecx
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x54]
add eax, 0x10
cmp eax, dword [esp + 0x34]
jg 0x10019444
mov ecx, dword [edi + 0x110]
mov eax, dword [edi + 0xbc]
inc esi
add ecx, esi
cmp ecx, eax
jl 0x100192f6
lea ecx, [esp + 0xcc]
mov byte [esp + 0xf8], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x48], eax
sub eax, ecx
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], edx
cdq
sub eax, edx
sar eax, 1
neg eax
push eax
mov dword [esp + 0x44], ecx
push 0
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
cmp dword [esp + 0xc8], 8
mov eax, dword [esp + 0xb4]
jae 0x100194ac
lea eax, [esp + 0xb4]
mov edx, dword [edi + 0xfc]
push edx
mov edx, dword [esp + 0xc8]
lea ecx, [esp + 0x40]
push ecx
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0x10]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x18]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [esp + 0x14]
push edx
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esp + 0x20]
push eax
push ebx
call dword [sym.imp.GDI32.dll_RestoreDC]
lea ecx, [esp + 0xb0]
mov dword [esp + 0xf8], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.1002c7c6
mov esp, ebp
pop ebp
ret 4