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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1003088b
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x1004304c]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push esi
push edi
mov eax, dword [0x1004304c]
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 0x1001acff
cmp dword [edi + 0x164], 0
je 0x1001a950
cmp byte [edi + 0x13c], 0
je 0x1001a92c
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 0x10019db7
mov eax, dword [edi]
mov edx, dword [eax + 0x8c]
call edx
cmp esi, eax
jge 0x10019db3
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
cmp esi, eax
jge 0x10019db3
mov eax, dword [esp + 0x18]
mov byte [esp + 0x27], 1
jmp 0x10019dbc
mov eax, dword [esp + 0x18]
mov byte [esp + 0x27], 0
test eax, eax
jle 0x10019de2
mov edx, dword [edi]
mov eax, dword [edx + 0x90]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jge 0x10019de2
mov edx, dword [edi + 0x10]
sub edx, dword [edi + 8]
cmp ecx, edx
jge 0x10019de2
mov al, 1
jmp 0x10019de4
xor al, al
mov cl, byte [esp + 0x27]
test cl, cl
jne 0x10019ed2
test al, al
jne 0x10019ed2
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 0x10019e3f
mov ecx, dword [edi + 0x16c]
add ecx, edx
mov edx, dword [edi + 0x170]
sub eax, esi
cmp eax, edx
jle 0x10019e33
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 0x10019e98
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.10019560
jmp 0x1001a950
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
push ebx
lea esi, [edi + 0x160]
call fcn.10019690
jmp 0x1001a950
cmp byte [edi + 0x13f], 0
je 0x1001a407
push 0xff
test cl, cl
je 0x1001a310
test al, al
je 0x1001a213
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.10019560
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.10019560
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.10019560
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.10019560
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.10019560
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.10019560
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.10019560
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.10019560
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.10019560
jmp 0x1001a950
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.10019560
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.10019560
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.10019560
jmp 0x1001a950
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.10019560
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.10019560
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.10019560
jmp 0x1001a950
push 0xff80ff
test cl, cl
je 0x1001a838
test al, al
je 0x1001a73b
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.10019690
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]
push edx
add eax, ecx
push eax
push ebx
call fcn.10019690
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
push ecx
sub edx, eax
push edx
push ebx
call fcn.10019690
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
push ebx
call fcn.10019690
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
push ebx
call fcn.10019690
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
push edx
sub eax, ecx
push eax
push ebx
call fcn.10019690
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
push ebx
call fcn.10019690
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
push ebx
call fcn.10019690
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
push edx
sub ecx, eax
push ecx
push ebx
call fcn.10019690
jmp 0x1001a950
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.10019690
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
push ecx
add edx, eax
push edx
push ebx
lea esi, [edi + 0x160]
call fcn.10019690
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]
push edx
sub ecx, eax
push ecx
push ebx
lea esi, [edi + 0x160]
call fcn.10019690
jmp 0x1001a950
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.10019690
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
push ecx
add edx, eax
mov eax, dword [edi + 4]
push edx
push eax
push ebx
lea esi, [edi + 0x160]
call fcn.10019690
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
push ebx
lea esi, [edi + 0x160]
call fcn.10019690
jmp 0x1001a950
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
push ebx
lea esi, [edi + 0x160]
call fcn.10019610
cmp dword [edi + 0xbc], 0
jbe 0x1001acff
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 0x1001a9bb
mov ecx, dword [edi + 0xe8]
push ecx
jmp 0x1001a9c2
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.1001ec60
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 0x1001aa3d
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 0x1001ac48
push 0x100353e0
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 0x1001aad1
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 0x1001ac33
test esi, esi
jne 0x1001ab23
lea edx, [esp + 0xcc]
push edx
lea eax, [esp + 0x60]
push 0x10036d98
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 0x1001abcb
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 0x10036d98
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 0x1001abf1
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 0x1001ac33
mov ecx, dword [edi + 0x110]
mov eax, dword [edi + 0xbc]
inc esi
add ecx, esi
cmp ecx, eax
jl 0x1001aae5
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 0x1001ac9b
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.1002dfc6
mov esp, ebp
pop ebp
ret 4