Function at 0x42a160
Capabilities:
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x54c46d
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5a5084]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xa0]
xor esi, esi
mov dword [esp + 0x98], esi
mov eax, dword [ebp + 0x110]
mov edx, dword [0x5b06b0]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x5b06b0
xor edi, edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x98], 1
mov ecx, dword [ebp + 0x50]
call fcn.0041fb60
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x140]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x50], ecx
mov ecx, dword [ebp + 0x24]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
call fcn.0041fd20
test eax, eax
mov dword [esp + 0x18], eax
je 0x42a223
mov ecx, eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x3c]
lea eax, [esp + 0x34]
push eax
call edx
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov ebx, dword [ebp + 0x148]
call fcn.0041fd20
test eax, eax
mov dword [esp + 0x1c], eax
je 0x42a251
mov ecx, eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
lea edx, [esp + 0x34]
push edx
call eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov ebx, dword [ebp + 0x14c]
call fcn.0041fd20
test eax, eax
mov dword [esp + 0x30], eax
je 0x42a27f
mov ecx, eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
lea edx, [esp + 0x34]
push edx
call eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov eax, dword [ebp + 0x138]
test eax, eax
je 0x42a28b
mov esi, eax
mov eax, dword [ebp + 0x134]
test eax, eax
je 0x42a297
mov edi, eax
mov eax, dword [ebp + 0x170]
sub eax, 0
je 0x42a2b5
sub eax, 1
jne 0x42a2c1
mov eax, dword [ebp + 0x130]
add eax, edi
add dword [esp + 0x50], eax
jmp 0x42a2c1
mov ecx, dword [ebp + 0x130]
add ecx, esi
add dword [esp + 0x54], ecx
mov ebx, dword [ebp + 0x144]
call fcn.0041fd20
mov edi, dword [esp + 0xa4]
mov esi, eax
test esi, esi
je 0x42a32b
call fcn.004053b0
call fcn.00405230
test eax, eax
je 0x42a2f7
cmp dword [ebp + 0xb8], 0
je 0x42a2f7
mov eax, 1
jmp 0x42a2f9
xor eax, eax
mov ecx, dword [esp + 0x50]
mov edx, dword [esi]
mov edx, dword [edx + 0x48]
push 0xff
push eax
push 0
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0xc], ecx
push edi
mov ecx, esi
call edx
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [ebp + 0x174]
cmp eax, 0xffffffff
mov ecx, dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [esp + 0x14], 0xffffffff
jne 0x42a361
mov eax, dword [ebp + 0x58]
cmp eax, 0xffffffff
jne 0x42a361
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x42a369
push eax
push edi
call ecx
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 0x24]
test eax, eax
mov dword [esp + 0x20], 0
je 0x42a388
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x108]
xor edx, edx
test eax, eax
je 0x42a3be
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42ac02
mov ecx, eax
mov ecx, dword [ecx + 8]
test ecx, ecx
mov eax, dword [eax]
je 0x42a3ba
cmp dword [ecx + 0x12c], 0
jne 0x42a3ba
add edx, 1
test eax, eax
jne 0x42a394
mov ebx, dword [esp + 0xa4]
xor edi, edi
cmp dword [esp + 0x28], edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], edi
jle 0x42a7ec
test edi, edi
jl 0x42a41b
cmp edi, dword [ebp + 0x110]
jge 0x42a41b
jb 0x42a3eb
xor eax, eax
jmp 0x42a407
mov eax, dword [ebp + 0x108]
test eax, eax
je 0x42a407
test edi, edi
jbe 0x42a407
mov ecx, edi
jmp 0x42a400
sub ecx, 1
mov eax, dword [eax]
jne 0x42a400
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42ac02
mov eax, dword [eax + 8]
jmp 0x42a41d
xor eax, eax
cmp dword [eax + 0x12c], 0
jne 0x42a7db
lea edx, [esp + 0x50]
push edx
push edi
mov esi, ebp
call fcn.0042ad20
cmp dword [esp + 0x30], 0
je 0x42a599
mov ecx, 1
cmp dword [esp + 0x2c], ecx
jle 0x42a599
mov eax, dword [ebp + 0x170]
sub dword [esp + 0x2c], ecx
sub eax, 0
je 0x42a4d0
sub eax, ecx
jne 0x42a53c
mov ecx, dword [esp + 0x5c]
mov eax, dword [ebp + 0x128]
add eax, ecx
push eax
mov eax, dword [esp + 0x5c]
push eax
push ecx
mov ecx, dword [esp + 0x5c]
push ecx
lea edx, [esp + 0x70]
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x68]
cmp eax, ecx
jle 0x42a49f
mov dword [esp + 0x60], ecx
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x6c]
cmp ecx, eax
jle 0x42a4b9
mov edx, ecx
mov ecx, eax
mov eax, edx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x6c], eax
sub eax, ecx
sub eax, dword [esp + 0x4c]
cdq
sub eax, edx
sar eax, 1
neg eax
push eax
push 0
lea eax, [esp + 0x68]
push eax
jmp 0x42a536
mov ecx, dword [esp + 0x58]
mov eax, dword [ebp + 0x128]
mov edx, dword [esp + 0x5c]
push edx
add eax, ecx
push eax
mov eax, dword [esp + 0x5c]
push eax
push ecx
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x68]
cmp ecx, eax
jle 0x42a50d
mov edx, ecx
mov ecx, eax
mov eax, edx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x68], eax
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x6c]
cmp edx, esi
jle 0x42a521
mov dword [esp + 0x64], esi
mov dword [esp + 0x6c], edx
sub eax, ecx
sub eax, dword [esp + 0x48]
push 0
cdq
sub eax, edx
sar eax, 1
neg eax
push eax
lea edx, [esp + 0x68]
push edx
call dword [sym.imp.USER32.dll_InflateRect]
call fcn.004053b0
call fcn.00405230
test eax, eax
je 0x42a55a
cmp dword [ebp + 0xb8], 0
je 0x42a55a
mov eax, 1
jmp 0x42a55c
xor eax, eax
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
push 0xff
push eax
push 0xffffffffffffffff
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x80]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x84]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x88]
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0x48]
push ebx
call eax
cmp edi, dword [ebp + 0x124]
je 0x42a7db
mov ecx, dword [ebp + 0x17c]
test ecx, ecx
je 0x42a5ce
mov edx, dword [ecx]
mov edx, dword [edx + 4]
xor eax, eax
cmp edi, dword [ebp + 0x120]
sete al
push eax
push edi
lea eax, [esp + 0x58]
push eax
push ebx
push ebp
call edx
test eax, eax
jne 0x42a632
mov esi, dword [esp + 0x18]
test esi, esi
je 0x42a632
call fcn.004053b0
call fcn.00405230
test eax, eax
je 0x42a5f4
cmp dword [ebp + 0xb8], 0
je 0x42a5f4
mov eax, 1
jmp 0x42a5f6
xor eax, eax
mov ecx, dword [esp + 0x50]
push 0xff
push eax
mov edx, dword [esi]
xor eax, eax
cmp edi, dword [ebp + 0x120]
mov edx, dword [edx + 0x48]
sete al
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0xc], ecx
push ebx
mov ecx, esi
call edx
cmp dword [esp + 0x1c], 0
je 0x42a6f7
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x74], ecx
mov ecx, dword [ebp + 0x164]
push ecx
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 0x160]
push eax
lea ecx, [esp + 0x78]
push ecx
mov dword [esp + 0x84], edx
call dword [sym.imp.USER32.dll_OffsetRect]
call fcn.004053b0
call fcn.00405230
test eax, eax
je 0x42a69a
cmp dword [ebp + 0xb8], 0
je 0x42a69a
mov ebx, 1
jmp 0x42a69c
xor ebx, ebx
lea edx, [esp + 0x40]
push edx
lea edi, [esp + 0x74]
lea esi, [esp + 0x84]
mov eax, ebp
call fcn.0042ae40
mov edx, dword [esp + 0x34]
mov edi, dword [eax]
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx]
push 0xff
push ebx
push edx
sub esp, 0x10
mov edx, esp
mov dword [edx], edi
mov edi, dword [eax + 4]
mov dword [edx + 4], edi
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 8], edi
mov dword [edx + 0xc], eax
mov edx, dword [esp + 0xc0]
mov eax, dword [esi + 0x48]
push edx
call eax
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0xa4]
mov ecx, dword [ebp + 0x17c]
test ecx, ecx
je 0x42a71b
mov edx, dword [ecx]
mov edx, dword [edx]
xor eax, eax
cmp edi, dword [ebp + 0x120]
sete al
push eax
push edi
lea eax, [esp + 0x58]
push eax
push ebx
push ebp
call edx
mov ecx, dword [ebp + 0x16c]
mov eax, dword [ebp + 0x168]
push ecx
push eax
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
test edi, edi
jl 0x42a771
cmp edi, dword [ebp + 0x110]
jge 0x42a771
jb 0x42a746
xor eax, eax
jmp 0x42a75d
mov eax, dword [ebp + 0x108]
test eax, eax
je 0x42a75d
test edi, edi
jbe 0x42a75d
mov ecx, edi
sub ecx, 1
mov eax, dword [eax]
jne 0x42a756
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42ac02
mov eax, dword [eax + 8]
jmp 0x42a773
xor eax, eax
mov edx, dword [eax + 0x128]
test edx, edx
jne 0x42a781
xor eax, eax
jmp 0x42a795
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42a786
sub eax, esi
sar eax, 1
mov ebx, eax
push edx
lea eax, [esp + 0x28]
call fcn.00412c00
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0xb8]
push ecx
push ebp
call fcn.0042aea0
mov ebx, dword [esp + 0xa4]
add edi, 1
cmp edi, dword [esp + 0x28]
mov dword [esp + 0x34], edi
jl 0x42a3d9
mov edi, dword [esp + 0x3c]
mov eax, dword [edi + 0x28]
test eax, eax
je 0x42a814
cmp dword [esp + 0x20], 0
jne 0x42a80c
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x20], eax
jmp 0x42a814
mov dword [esp + 0x20], 0
cmp dword [edi + 0x10], 0xffffffff
je 0x42a833
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.GDI32.dll_SetTextColor]
push edx
push ebx
call esi
mov eax, dword [edi + 0x10]
push eax
push ebx
call esi
mov dword [esp + 0x14], eax
xor ebx, ebx
cmp dword [esp + 0x28], ebx
jle 0x42aca4
mov esi, dword [esp + 0x28]
test ebx, ebx
jl 0x42a880
cmp ebx, dword [ebp + 0x110]
jge 0x42a880
jb 0x42a855
xor eax, eax
jmp 0x42a86c
mov eax, dword [ebp + 0x108]
test eax, eax
je 0x42a86c
test ebx, ebx
jbe 0x42a86c
mov ecx, ebx
sub ecx, 1
mov eax, dword [eax]
jne 0x42a865
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42ac02
mov eax, dword [eax + 8]
jmp 0x42a882
xor eax, eax
cmp dword [eax + 0x12c], 0
jne 0x42a893
cmp ebx, dword [ebp + 0x124]
je 0x42a89f
add ebx, 1
cmp ebx, esi
jl 0x42a843
jmp 0x42aca4
lea eax, [esp + 0x50]
push eax
push ebx
mov esi, ebp
mov dword [esp + 0x34], ebx
call fcn.0042ad20
mov ecx, dword [ebp + 0x17c]
test ecx, ecx
je 0x42a937
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push 2
push ebx
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0xb0]
push eax
push ebp
call edx
test eax, eax
jne 0x42a9d9
mov esi, dword [esp + 0x18]
test esi, esi
je 0x42a9d9
call fcn.004053b0
call fcn.00405230
test eax, eax
je 0x42a904
cmp dword [ebp + 0xb8], 0
je 0x42a904
mov eax, 1
jmp 0x42a906
xor eax, eax
mov ecx, dword [esp + 0x50]
mov edx, dword [esi]
push 0xff
push eax
push 2
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0xc], ecx
mov ecx, esi
jmp 0x42a9cc
mov edi, dword [esp + 0x18]
test edi, edi
je 0x42a9d9
call fcn.004053b0
mov esi, eax
cmp dword [esi + 0xc], 0xffffffff
jne 0x42a988
call fcn.00405280
test eax, eax
je 0x42a977
lea eax, [esp + 0x3c]
push eax
push esi
mov dword [esp + 0x44], 0
call fcn.004052d0
test eax, eax
je 0x42a977
cmp dword [esp + 0x3c], 0
jne 0x42a980
call fcn.00402be0
test eax, eax
je 0x42a985
mov eax, 1
mov dword [esi + 0xc], eax
cmp dword [esi + 0xc], 0
je 0x42a99e
cmp dword [ebp + 0xb8], 0
je 0x42a99e
mov eax, 1
jmp 0x42a9a0
xor eax, eax
mov ecx, dword [esp + 0x50]
mov edx, dword [edi]
push 0xff
push eax
push 2
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0xc], ecx
mov ecx, edi
mov eax, dword [esp + 0xc0]
mov edx, dword [edx + 0x48]
push eax
call edx
cmp dword [esp + 0x1c], 0
je 0x42ab94
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x64], ecx
mov ecx, dword [ebp + 0x164]
push ecx
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x160]
push eax
lea ecx, [esp + 0x68]
push ecx
mov dword [esp + 0x74], edx
call dword [sym.imp.USER32.dll_OffsetRect]
call fcn.004053b0
mov esi, eax
cmp dword [esi + 0xc], 0xffffffff
jne 0x42aae9
lea edx, [esp + 0x34]
push edx
call fcn.00402c30
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push 0x58b6c8
push str.basesetting
call edi
mov ebx, eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42aa71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
je 0x42aa93
lea ecx, [esp + 0x3c]
push ecx
push esi
mov dword [esp + 0x44], 0
call fcn.004052d0
test eax, eax
je 0x42aa93
cmp dword [esp + 0x3c], 0
jne 0x42aae1
cmp dword [esi + 4], 0xffffffff
jne 0x42aad7
lea edx, [esp + 0x30]
push edx
call fcn.00402c30
mov eax, dword [eax]
push eax
push 0
push str.debug
push str.basesetting
call edi
mov dword [esi + 4], eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42aad7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esi + 4], 0
jne 0x42aae1
xor eax, eax
jmp 0x42aae6
mov eax, 1
mov dword [esi + 0xc], eax
cmp dword [esi + 0xc], 0
je 0x42ab00
cmp dword [ebp + 0xb8], 0
mov dword [esp + 0x3c], 1
jne 0x42ab08
mov dword [esp + 0x3c], 0
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x40]
mov edx, dword [edx + 4]
lea esi, [ebp + 4]
push eax
mov ecx, esi
call edx
mov ecx, dword [esp + 0x44]
mov ebx, eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
push ecx
mov ecx, esi
call edx
mov esi, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
add eax, edx
mov dword [esp + 0x78], esi
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x3c]
lea esi, [ecx + ebx]
mov ebx, dword [esp + 0x2c]
push 0xff
push eax
push ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x94], esi
mov ecx, dword [esp + 0x94]
mov esi, dword [esp + 0x38]
mov edi, dword [esi]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0xc0]
mov edx, dword [edi + 0x48]
push eax
mov ecx, esi
call edx
mov ecx, dword [ebp + 0x17c]
test ecx, ecx
je 0x42abb5
mov eax, dword [ecx]
mov eax, dword [eax]
push 2
push ebx
lea edx, [esp + 0x58]
push edx
mov edx, dword [esp + 0xb0]
push edx
push ebp
call eax
mov ecx, dword [ebp + 0x16c]
mov eax, dword [ebp + 0x168]
push ecx
push eax
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
test ebx, ebx
jl 0x42ac11
cmp ebx, dword [ebp + 0x110]
jge 0x42ac11
jb 0x42abe0
xor eax, eax
jmp 0x42abf7
mov eax, dword [ebp + 0x108]
test eax, eax
je 0x42abf7
test ebx, ebx
jbe 0x42abf7
mov edi, edi
sub ebx, 1
mov eax, dword [eax]
jne 0x42abf0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42ac0c
push 0x80004005
call fcn.00408b10
mov eax, dword [eax + 8]
jmp 0x42ac13
xor eax, eax
mov edx, dword [eax + 0x128]
test edx, edx
jne 0x42ac21
xor eax, eax
jmp 0x42ac35
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42ac26
sub eax, esi
sar eax, 1
mov ebx, eax
push edx
lea eax, [esp + 0x28]
call fcn.00412c00
mov eax, dword [ebp + 0x178]
xor esi, esi
test eax, eax
je 0x42ac5e
mov edx, dword [esp + 0xa4]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, eax
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0xb8]
push ecx
push ebp
call fcn.0042aea0
test esi, esi
je 0x42aca4
mov edx, dword [esp + 0xa4]
push esi
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x42acbc
push eax
mov eax, dword [esp + 0xa8]
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x42acd3
mov ecx, dword [esp + 0xa4]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov byte [esp + 0x98], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42acfb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 8