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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10079f1f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
push esi
push edi
mov dword [esp + 0x2c], edx
xor ebx, ebx
mov dword [esp + 0xc], 0xffffffff
mov edi, ecx
mov dword [esp + 0x14], 1
push 4
pop esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], 0x39523dd9
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0xc], ebx
jmp 0x1001a294
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x90], 0xee91
inc dword [esp + 0xc]
cmp dword [esp + 0xc], esi
jl 0x1001a281
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], 2
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
sub edx, eax
mov eax, dword [esp + 0xc]
cmp eax, 0xfffffffd
mov eax, dword [esp + 0x28]
setle cl
imul edx, ecx
xor ecx, ecx
cmp edx, eax
setle cl
mov dword [esp + 0x28], ecx
cmp dword [esp + 0x28], 0x9a8551b3
sbb eax, eax
neg eax
neg eax
mov dword [esp + 0xc], eax
cmp dword [edi + 0x10], ebx
jne 0x1001a304
xor al, al
jmp 0x1001a67c
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 0x58]
mov dword [esp + 0x28], 0xfffffffd
push esi
call fcn.10016f3c
mov dword [esp + 0xac], ebx
mov dword [esp + 0x28], 0xf7f3e76e
mov dword [esp + 0x18], ebx
jmp 0x1001a343
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x44], 0x77dd6887
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 2
jl 0x1001a333
mov dword [esp + 0x18], ebx
jmp 0x1001a35f
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x84], esi
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 3
jl 0x1001a350
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.1001ca06
mov byte [esp + 0x1f], bl
add esp, 0xc
cmp byte [esp + 0x13], 0
je 0x1001a395
push 0xeb4
push 0x61f
push ebx
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [esp + 0x58]
mov ecx, dword [edx + 8]
lea eax, [ecx + 1]
mov dword [edx + 8], eax
test ecx, ecx
je 0x1001a3c6
cmp dword [esp + 0x1c], ebx
je 0x1001a3b7
cmp dword [esp + 0x44], ebx
je 0x1001a3b7
xor eax, eax
inc eax
jmp 0x1001a3b9
mov eax, ebx
mov dword [esp + 0x44], eax
neg eax
je 0x1001a3c6
xor ecx, ecx
inc ecx
jmp 0x1001a3c8
mov ecx, ebx
mov eax, dword [esp + 0x1c]
add eax, ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x28], eax
or dword [esp + 0xac], 0xffffffff
call fcn.1001783e
lea eax, [esp + 0x2c]
push eax
push 0x6495
push 0x7d39
push 0x1847
push ebx
push 0x4529
call fcn.1001a73f
add esp, 0x18
xor cl, cl
call fcn.1001908b
cmp dword [edi + 0x14], 0x10
jb 0x1001a416
mov esi, dword [edi]
jmp 0x1001a418
mov esi, edi
cmp dword [edi + 0x14], 0x10
jb 0x1001a422
mov ecx, dword [edi]
jmp 0x1001a424
mov ecx, edi
mov eax, dword [edi + 0x10]
add eax, ecx
cmp esi, eax
je 0x1001a60e
push ebx
lea eax, [esp + 0x2b]
mov dword [esp + 0x20], 0xfffffffe
push 0x433
mov byte [esp + 0x2f], bl
push eax
call fcn.1001e259
add esp, 0xc
mov byte [esp + 0x26], bl
lea eax, [esp + 0x26]
push eax
push ebx
call fcn.1001d4dd
mov al, byte [esi]
pop ecx
pop ecx
cmp al, 0x30
jl 0x1001a59f
cmp al, 0x39
jg 0x1001a59f
mov dword [esp + 0x14], 1
mov dword [esp + 0x1c], 0xfadacd7d
mov dword [esp + 0xc], ebx
jmp 0x1001a495
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x70], ebx
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 3
jl 0x1001a489
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x14], 0xffffffec
jle 0x1001a581
mov dword [esp + 0xc], 1
lea ecx, [esp + 0x4c]
push 3
call fcn.10016f3c
lea eax, [esp + 0x80]
mov dword [esp + 0xac], 1
push eax
lea eax, [esp + 0x50]
push ebx
push eax
call fcn.1001c5ab
add esp, 0xc
cmp dword [esp + 0x14], ebx
jne 0x1001a513
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov eax, dword [esp + 0x1c]
cmp eax, 9
mov eax, dword [esp + 0xc]
setne cl
xor edx, edx
cmp ecx, eax
setg dl
mov dword [esp + 0x74], edx
mov eax, dword [esp + 0xc]
imul eax, edx
test eax, eax
jne 0x1001a513
mov ecx, ebx
jmp 0x1001a516
xor ecx, ecx
inc ecx
mov eax, dword [esp + 0x1c]
sub ecx, eax
sub ecx, dword [esp + 0xc]
je 0x1001a526
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x78]
cmp eax, 0x59229a27
mov eax, dword [esp + 0x14]
setg cl
xor ebx, ebx
cmp ecx, eax
mov eax, dword [esp + 0xc]
push 8
setne bl
xor edx, edx
pop ecx
sub ecx, eax
mov eax, dword [esp + 0x4c]
cmp ecx, ebx
lea ecx, [esp + 0x4c]
setne dl
or dword [esp + 0xac], 0xffffffff
mov dword [eax + 8], edx
call fcn.1001783e
dec dword [esp + 0x14]
cmp dword [esp + 0x14], 0xffffffec
push 0
pop ebx
jg 0x1001a4ab
mov cl, 1
call fcn.1001908b
mov edx, dword [esp + 0x2c]
movsx eax, byte [esi]
imul ecx, dword [edx], 0xa
add ecx, 0xffffffd0
add eax, ecx
inc esi
mov dword [edx], eax
jmp 0x1001a418
lea eax, [esp + 0x2c]
push eax
push 0x38
push ebx
push 0x60f9
call fcn.1001a6cf
mov dword [esp + 0x30], 0xffffffff
mov eax, 0x1f6f0842
mov dword [esp + 0x44], eax
add esp, 0x10
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
cmp dword [esp + 0x20], ebx
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x20]
push 0x7c4b
push eax
push 0x537b
push ebx
call fcn.1001d83c
add esp, 0x10
jmp 0x1001a2fd
mov dword [esp + 0x30], 5
lea ecx, [esp + 0x64]
push 4
call fcn.10016f3c
lea eax, [esp + 0x64]
mov dword [esp + 0xac], 2
push eax
lea eax, [esp + 0x80]
push ebx
push eax
call fcn.1001cf0c
mov byte [esp + 0x1f], bl
add esp, 0xc
cmp byte [esp + 0x13], 0
je 0x1001a654
push ebx
call fcn.1001cae9
pop ecx
push 0x1846
push 0x20c6
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x70]
push ecx
push ebx
call fcn.1001a8d8
add esp, 0x14
lea ecx, [esp + 0x64]
call fcn.1001783e
mov al, 1
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret