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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101f466a
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 0x30]
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], esi
je 0x1012ac6b
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov dword [esp + 0xd0], ebx
cmp esi, ebx
jne 0x1012ac86
mov dword [esp + 0xd0], 0xffffffff
jmp 0x1012b5b3
mov edi, dword [edi + 0x2c]
cmp edi, ebx
mov dword [esp + 0x40], edi
je 0x1012ac99
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
mov byte [esp + 0xd0], 1
cmp edi, ebx
jne 0x1012acb9
mov dword [esp + 0xd0], 0xffffffff
mov eax, dword [esi]
mov ecx, esi
jmp 0x1012b5ae
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov byte [esp + 0xd0], 2
mov eax, dword [edi]
mov edx, dword [eax + 0x50]
lea ecx, [esp + 0x48]
push ecx
mov ecx, edi
call edx
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x1012acfe
mov ecx, dword [esp + 0x50]
sub ecx, eax
mov eax, 0x84210843
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x1012ad39
mov byte [esp + 0xd0], 1
lea ebx, [esp + 0x48]
call fcn.100c2670
mov byte [esp + 0xd0], 0
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov dword [esp + 0xd0], 0xffffffff
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
jmp 0x1012b5b3
mov edx, dword [edi]
mov eax, dword [edx + 0x5c]
mov ecx, edi
call eax
mov ebx, eax
test ebx, ebx
jge 0x1012ad4a
xor ebx, ebx
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x1012ad6b
mov ecx, dword [esp + 0x50]
sub ecx, eax
mov eax, 0x84210843
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jge 0x1012acfe
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x1012acfe
call fcn.10017b30
mov esi, eax
test esi, esi
je 0x1012ae5b
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov eax, esi
call fcn.1001a830
mov dword [esp + 0x70], eax
mov eax, esi
call fcn.1001a890
mov edx, dword [esp + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_ClientToScreen]
lea ecx, [esp + 0x70]
mov dword [esp + 0x74], eax
mov eax, dword [edx + 0xdc]
push ecx
push eax
call ebx
mov eax, esi
call fcn.1001a890
mov dword [esp + 0x24], eax
mov eax, esi
call fcn.1001a850
mov dword [esp + 0x14], eax
mov eax, esi
call fcn.1001a870
mov dword [esp + 0x3c], eax
mov eax, esi
call fcn.1001a830
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x7c], ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x80], edx
mov edx, dword [esi + 0xdc]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x24]
push ecx
push edx
mov dword [esp + 0x8c], eax
call ebx
mov ecx, dword [esi + 0xdc]
lea eax, [esp + 0x80]
push eax
push ecx
call ebx
lea edx, [esp + 0x24]
push edx
xor ecx, ecx
call fcn.101aa7f0
mov byte [esp + 0xd0], 3
mov eax, edx
push eax
call fcn.10085450
test eax, eax
jne 0x1012ae98
mov byte [esp + 0xd0], 2
call fcn.101aa830
mov byte [esp + 0xd0], 1
lea ebx, [esp + 0x48]
call fcn.100c2670
mov byte [esp + 0xd0], 0
mov edx, dword [edi]
mov ecx, edi
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xd0], 0xffffffff
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
jmp 0x1012b5b3
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0x34]
xor esi, esi
cmp ecx, esi
mov dword [esp + 0x28], ecx
je 0x1012aeaf
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov byte [esp + 0xd0], 4
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov byte [esp + 0xd0], 5
lea ecx, [esp + 0x48]
mov dword [esp + 0x14], esi
call fcn.100c2350
test eax, eax
jbe 0x1012b03b
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
lea esi, [esp + 0x48]
call fcn.100c2380
mov esi, eax
cmp dword [esi + 0x14], 0
jne 0x1012af3d
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x1012af3d
test ebx, ebx
je 0x1012af3d
mov edx, dword [ebx]
mov edx, dword [edx + 0x10]
push eax
lea eax, [esp + 0x8c]
push eax
mov ecx, ebx
call edx
mov byte [esp + 0xd0], 6
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.10007880
mov byte [esp + 0xd0], 5
lea ecx, [esp + 0x88]
call fcn.10001dd0
push 0xd4
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x44], eax
mov byte [esp + 0xd0], 7
test eax, eax
je 0x1012af64
push eax
call fcn.100ed090
mov edi, eax
jmp 0x1012af66
xor edi, edi
mov byte [esp + 0xd0], 5
push 0xffffffffffffffff
lea ecx, [edi + 0x10]
push 0
mov eax, esi
mov dword [esp + 0x44], edi
call fcn.10007880
add esi, 0x3c
push esi
lea esi, [esp + 0xa8]
call fcn.100076d0
mov byte [esp + 0xd0], 8
push 0x1022fcf8
mov eax, esi
push 0x10239a50
push eax
call fcn.1019c680
mov esi, dword [esp + 0x20]
add esp, 0xc
test esi, esi
jne 0x1012afb9
mov byte [edi + 0x51], 1
lea ecx, [esp + 0x48]
call fcn.100c2350
sub eax, 1
cmp esi, eax
jne 0x1012afcd
mov byte [edi + 0x52], 1
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
lea eax, [esp + 0xa4]
push eax
call edx
mov dword [edi + 4], eax
lea eax, [esi + 0x800]
push eax
mov dword [edi], eax
mov eax, dword [esp + 0x28]
push eax
mov ecx, edi
call fcn.100ebef0
add esp, 8
lea ebx, [esp + 0x3c]
lea esi, [esp + 0x2c]
call fcn.1001fb10
mov byte [esp + 0xd0], 5
lea ecx, [esp + 0xa4]
call fcn.10001dd0
mov esi, dword [esp + 0x14]
add esi, 1
lea ecx, [esp + 0x48]
mov dword [esp + 0x14], esi
call fcn.100c2350
cmp esi, eax
jb 0x1012aee0
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
push 0
call eax
call fcn.101a7380
mov ecx, dword [eax + 0x1c]
test ecx, ecx
mov dword [esp + 0x3c], ecx
je 0x1012b06d
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x44], ebx
jne 0x1012b0ee
lea edi, [esp + 0x2c]
call fcn.100ec900
lea esi, [esp + 0x24]
call fcn.10050270
mov byte [esp + 0xd0], 4
mov eax, dword [esp + 0x30]
xor esi, esi
cmp eax, esi
je 0x1012b09a
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov byte [esp + 0xd0], 3
mov ecx, dword [esp + 0x28]
cmp ecx, esi
je 0x1012b0bd
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xd0], 2
call fcn.101aa830
mov byte [esp + 0xd0], 1
lea ebx, [esp + 0x48]
call fcn.100c2670
mov byte [esp + 0xd0], 0
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
jmp 0x1012ae78
mov edx, dword [ebx]
mov eax, dword [esp + 0x24]
mov edx, dword [edx]
push eax
mov ecx, ebx
call edx
test al, al
jne 0x1012b157
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push ebx
call edx
lea edi, [esp + 0x2c]
call fcn.100ec900
lea esi, [esp + 0x24]
call fcn.10050270
mov byte [esp + 0xd0], 4
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1012b136
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov byte [esp + 0xd0], 3
mov ecx, dword [esp + 0x28]
cmp ecx, eax
jmp 0x1012b563
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov byte [esp + 0xd0], 9
lea esi, [esp + 0x58]
lea edi, [esp + 0x2c]
call fcn.100b6850
lea ebx, [ebx]
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x30], eax
mov esi, eax
jbe 0x1012b192
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x58]
test eax, eax
je 0x1012b1a2
lea ecx, [esp + 0x2c]
cmp eax, ecx
je 0x1012b1a8
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x5c], esi
je 0x1012b214
mov edx, dword [esp + 0x20]
mov edi, dword [edx]
lea esi, [esp + 0x58]
add edi, 0x18
call fcn.10104a70
mov eax, dword [eax]
mov ecx, dword [eax + 4]
mov edx, dword [edi]
push ecx
mov ecx, dword [esp + 0x24]
call edx
test eax, eax
mov dword [esp + 0x14], eax
je 0x1012b206
mov edi, dword [ebx]
add edi, 0xa4
call fcn.10104a70
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov eax, dword [edx]
mov edx, dword [edi]
push ecx
push 0
push eax
mov ecx, ebx
call edx
lea ebx, [esp + 0x14]
lea esi, [esp + 0x60]
call fcn.1001fb10
mov ebx, dword [esp + 0x44]
lea esi, [esp + 0x58]
call fcn.10050550
jmp 0x1012b180
mov edx, dword [esp + 0x74]
mov eax, dword [ebx]
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x74]
push 1
push edx
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [edx + 0xdc]
mov edx, dword [eax + 0x10]
push ecx
mov ecx, ebx
call edx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push ebx
call edx
lea esi, [esp + 0x24]
call fcn.10050270
lea edi, [esp + 0x2c]
call fcn.100ec900
lea esi, [esp + 0x58]
lea edi, [esp + 0x60]
call fcn.100b6850
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x64], eax
mov ebx, eax
jbe 0x1012b282
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
test edi, edi
je 0x1012b28e
lea eax, [esp + 0x60]
cmp edi, eax
je 0x1012b294
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, ebx
je 0x1012b2c6
test edi, edi
jne 0x1012b2a2
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [edi + 8]
jb 0x1012b2ad
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_DestroyIcon]
cmp esi, dword [edi + 8]
jb 0x1012b2c1
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add esi, 4
jmp 0x1012b270
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x1012b32f
mov byte [esp + 0xd0], 5
mov eax, dword [esp + 0x64]
test eax, eax
je 0x1012b2e7
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor ecx, ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
mov byte [esp + 0xd0], 4
mov eax, dword [esp + 0x30]
cmp eax, ecx
je 0x1012b30e
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov byte [esp + 0xd0], 3
mov ecx, dword [esp + 0x28]
cmp ecx, eax
jmp 0x1012b0b4
cmp esi, 0x800
jb 0x1012b51d
sub esi, 0x800
lea ecx, [esp + 0x48]
mov dword [esp + 0x14], esi
mov byte [esp + 0x1b], 0
call fcn.100c2350
cmp esi, eax
jae 0x1012b47e
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx]
add eax, 0x3c
mov edi, esi
lea esi, [esp + 0x48]
mov dword [esp + 0x44], eax
call fcn.100c2380
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [edx]
mov ecx, ebx
call eax
test al, al
je 0x1012b3bb
mov esi, dword [esp + 0x40]
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
mov ecx, esi
call eax
cmp eax, edi
je 0x1012b3b6
mov edx, dword [esi]
mov eax, dword [edx + 0x60]
push edi
mov ecx, esi
call eax
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x1012b3b6
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
push 0
push 0
push 0x101
push 0
call eax
mov byte [esp + 0x1b], 1
xor ecx, ecx
mov dword [esp + 0xbc], 7
mov dword [esp + 0xb8], ecx
mov word [esp + 0xa8], cx
mov byte [esp + 0xd0], 0xa
mov eax, dword [ebx + 0x10]
cmp eax, ecx
je 0x1012b41e
push eax
lea ebx, [esp + 0x8c]
call fcn.100231f0
mov byte [esp + 0xd0], 0xb
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0xac]
call fcn.10007880
mov byte [esp + 0xd0], 0xa
mov ecx, ebx
call fcn.10001dd0
mov ebx, dword [esp + 0x1c]
cmp dword [esp + 0xb8], 0
je 0x1012b46a
mov edx, 0x1022fcf8
lea eax, [esp + 0x88]
call fcn.10007690
mov byte [esp + 0xd0], 0xc
mov edx, dword [ebx]
mov edx, dword [edx + 0x78]
push 0
push 1
lea eax, [esp + 0x90]
push eax
mov ecx, ebx
call edx
mov byte [esp + 0xd0], 0xa
lea ecx, [esp + 0x88]
call fcn.10001dd0
mov byte [esp + 0xd0], 9
lea ecx, [esp + 0xa4]
call fcn.10001dd0
mov byte [esp + 0xd0], 5
lea esi, [esp + 0x60]
call fcn.100a0ee0
mov byte [esp + 0xd0], 4
mov eax, dword [esp + 0x30]
xor esi, esi
cmp eax, esi
je 0x1012b4aa
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov byte [esp + 0xd0], 3
mov ecx, dword [esp + 0x28]
cmp ecx, esi
je 0x1012b4cd
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov byte [esp + 0xd0], 2
call fcn.101aa830
mov byte [esp + 0xd0], 1
lea ebx, [esp + 0x48]
call fcn.100c2670
mov byte [esp + 0xd0], 0
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov dword [esp + 0xd0], 0xffffffff
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov al, byte [esp + 0x1b]
jmp 0x1012b5b5
mov byte [esp + 0xd0], 5
lea esi, [esp + 0x60]
call fcn.100a0ee0
mov byte [esp + 0xd0], 4
mov eax, dword [esp + 0x30]
xor esi, esi
cmp eax, esi
je 0x1012b549
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov byte [esp + 0xd0], 3
mov ecx, dword [esp + 0x28]
cmp ecx, esi
je 0x1012b56c
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov byte [esp + 0xd0], 2
call fcn.101aa830
mov byte [esp + 0xd0], 1
lea ebx, [esp + 0x48]
call fcn.100c2670
mov byte [esp + 0xd0], 0
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov dword [esp + 0xd0], 0xffffffff
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
xor al, al
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.101d19cc
mov esp, ebp
pop ebp
ret