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

Disassembly:
push 0xffffffffffffffff
push 0x4ba03d
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e02dc]
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 + 0x10c]
mov edx, dword [0x4e3844]
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4e3844
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 + 0x28], eax
mov byte [esp + 0x98], 1
mov ecx, dword [ebp + 0x50]
call fcn.00435a50
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x13c]
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.004357b0
test eax, eax
mov dword [esp + 0x14], eax
je 0x446613
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 + 0x144]
call fcn.004357b0
test eax, eax
mov dword [esp + 0x1c], eax
je 0x446641
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 + 0x148]
call fcn.004357b0
test eax, eax
mov dword [esp + 0x30], eax
je 0x44666f
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 + 0x134]
test eax, eax
je 0x44667b
mov esi, eax
mov eax, dword [ebp + 0x130]
test eax, eax
je 0x446687
mov edi, eax
mov eax, dword [ebp + 0x16c]
sub eax, 0
je 0x4466a5
sub eax, 1
jne 0x4466b1
mov eax, dword [ebp + 0x12c]
add eax, edi
add dword [esp + 0x50], eax
jmp 0x4466b1
mov ecx, dword [ebp + 0x12c]
add ecx, esi
add dword [esp + 0x54], ecx
mov ebx, dword [ebp + 0x140]
call fcn.004357b0
mov edi, dword [esp + 0xa4]
mov esi, eax
test esi, esi
je 0x44671b
call fcn.00407ca0
call fcn.00407fb0
test eax, eax
je 0x4466e7
cmp dword [ebp + 0xb8], 0
je 0x4466e7
mov eax, 1
jmp 0x4466e9
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 + 0x170]
cmp eax, 0xffffffff
mov ecx, dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [esp + 0x20], 0xffffffff
jne 0x446751
mov eax, dword [ebp + 0x58]
cmp eax, 0xffffffff
jne 0x446751
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x446759
push eax
push edi
call ecx
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 0x24]
test eax, eax
mov dword [esp + 0x24], 0
je 0x446778
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x104]
xor edx, edx
test eax, eax
je 0x4467ae
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x446fc2
mov ecx, eax
mov ecx, dword [ecx + 8]
test ecx, ecx
mov eax, dword [eax]
je 0x4467aa
cmp dword [ecx + 0x128], 0
jne 0x4467aa
add edx, 1
test eax, eax
jne 0x446784
mov ebx, dword [esp + 0xa4]
xor edi, edi
cmp dword [esp + 0x2c], edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x34], edi
jle 0x446bdc
test edi, edi
jl 0x44680b
cmp edi, dword [ebp + 0x10c]
jge 0x44680b
jb 0x4467db
xor eax, eax
jmp 0x4467f7
mov eax, dword [ebp + 0x104]
test eax, eax
je 0x4467f7
test edi, edi
jbe 0x4467f7
mov ecx, edi
jmp 0x4467f0
sub ecx, 1
mov eax, dword [eax]
jne 0x4467f0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x446fc2
mov eax, dword [eax + 8]
jmp 0x44680d
xor eax, eax
cmp dword [eax + 0x128], 0
jne 0x446bcb
lea edx, [esp + 0x50]
push edx
push edi
mov esi, ebp
call fcn.004461b0
cmp dword [esp + 0x30], 0
je 0x446989
mov ecx, 1
cmp dword [esp + 0x18], ecx
jle 0x446989
mov eax, dword [ebp + 0x16c]
sub dword [esp + 0x18], ecx
sub eax, 0
je 0x4468c0
sub eax, ecx
jne 0x44692c
mov ecx, dword [esp + 0x5c]
mov eax, dword [ebp + 0x124]
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 0x44688f
mov dword [esp + 0x60], ecx
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x6c]
cmp ecx, eax
jle 0x4468a9
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 0x446926
mov ecx, dword [esp + 0x58]
mov eax, dword [ebp + 0x124]
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 0x4468fd
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 0x446911
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.00407ca0
call fcn.00407fb0
test eax, eax
je 0x44694a
cmp dword [ebp + 0xb8], 0
je 0x44694a
mov eax, 1
jmp 0x44694c
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 + 0x120]
je 0x446bcb
mov ecx, dword [ebp + 0x178]
test ecx, ecx
je 0x4469be
mov edx, dword [ecx]
mov edx, dword [edx + 4]
xor eax, eax
cmp edi, dword [ebp + 0x11c]
sete al
push eax
push edi
lea eax, [esp + 0x58]
push eax
push ebx
push ebp
call edx
test eax, eax
jne 0x446a22
mov esi, dword [esp + 0x14]
test esi, esi
je 0x446a22
call fcn.00407ca0
call fcn.00407fb0
test eax, eax
je 0x4469e4
cmp dword [ebp + 0xb8], 0
je 0x4469e4
mov eax, 1
jmp 0x4469e6
xor eax, eax
mov ecx, dword [esp + 0x50]
push 0xff
push eax
mov edx, dword [esi]
xor eax, eax
cmp edi, dword [ebp + 0x11c]
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 0x446ae7
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 + 0x160]
push ecx
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 0x15c]
push eax
lea ecx, [esp + 0x78]
push ecx
mov dword [esp + 0x84], edx
call dword [sym.imp.USER32.dll_OffsetRect]
call fcn.00407ca0
call fcn.00407fb0
test eax, eax
je 0x446a8a
cmp dword [ebp + 0xb8], 0
je 0x446a8a
mov ebx, 1
jmp 0x446a8c
xor ebx, ebx
lea edx, [esp + 0x40]
push edx
lea edi, [esp + 0x74]
lea esi, [esp + 0x84]
mov eax, ebp
call fcn.004464f0
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 + 0x178]
test ecx, ecx
je 0x446b0b
mov edx, dword [ecx]
mov edx, dword [edx]
xor eax, eax
cmp edi, dword [ebp + 0x11c]
sete al
push eax
push edi
lea eax, [esp + 0x58]
push eax
push ebx
push ebp
call edx
mov ecx, dword [ebp + 0x168]
mov eax, dword [ebp + 0x164]
push ecx
push eax
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
test edi, edi
jl 0x446b61
cmp edi, dword [ebp + 0x10c]
jge 0x446b61
jb 0x446b36
xor eax, eax
jmp 0x446b4d
mov eax, dword [ebp + 0x104]
test eax, eax
je 0x446b4d
test edi, edi
jbe 0x446b4d
mov ecx, edi
sub ecx, 1
mov eax, dword [eax]
jne 0x446b46
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x446fc2
mov eax, dword [eax + 8]
jmp 0x446b63
xor eax, eax
mov edx, dword [eax + 0x124]
test edx, edx
jne 0x446b71
xor eax, eax
jmp 0x446b85
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x446b76
sub eax, esi
sar eax, 1
mov ebx, eax
push edx
lea eax, [esp + 0x2c]
call fcn.00401750
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 + 0x38]
push eax
lea ecx, [esp + 0xb8]
push ecx
push ebp
call fcn.004470e0
mov ebx, dword [esp + 0xa4]
add edi, 1
cmp edi, dword [esp + 0x2c]
mov dword [esp + 0x34], edi
jl 0x4467c9
mov edi, dword [esp + 0x3c]
mov eax, dword [edi + 0x28]
test eax, eax
je 0x446c04
cmp dword [esp + 0x24], 0
jne 0x446bfc
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x24], eax
jmp 0x446c04
mov dword [esp + 0x24], 0
cmp dword [edi + 0x10], 0xffffffff
je 0x446c23
mov edx, dword [esp + 0x20]
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 + 0x20], eax
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x18], 0
jle 0x447064
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
mov edi, edi
test edi, edi
jl 0x446c7d
cmp edi, dword [ebp + 0x10c]
jge 0x446c7d
jb 0x446c52
xor eax, eax
jmp 0x446c69
mov eax, dword [ebp + 0x104]
test eax, eax
je 0x446c69
test edi, edi
jbe 0x446c69
mov ecx, edi
sub ecx, 1
mov eax, dword [eax]
jne 0x446c62
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x446fc2
mov eax, dword [eax + 8]
jmp 0x446c7f
xor eax, eax
cmp dword [eax + 0x128], 0
jne 0x446c90
cmp edi, dword [ebp + 0x120]
je 0x446c9c
add edi, 1
cmp edi, edx
jl 0x446c40
jmp 0x447064
lea eax, [esp + 0x50]
push eax
push edi
mov esi, ebp
mov dword [esp + 0x20], edi
call fcn.004461b0
mov ecx, dword [ebp + 0x178]
test ecx, ecx
je 0x446d35
mov ebx, dword [esp + 0xa4]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push 2
push edi
lea eax, [esp + 0x58]
push eax
push ebx
push ebp
call edx
test eax, eax
jne 0x446ddd
mov esi, dword [esp + 0x14]
test esi, esi
je 0x446ddd
call fcn.00407ca0
call fcn.00407fb0
test eax, eax
je 0x446d01
cmp dword [ebp + 0xb8], 0
je 0x446d01
mov eax, 1
jmp 0x446d03
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
push ebx
mov ecx, esi
jmp 0x446dd8
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x446ddd
call fcn.00407ca0
mov esi, eax
cmp dword [esi + 0xc], 0xffffffff
jne 0x446d8c
call fcn.00408580
test eax, eax
je 0x446d75
lea eax, [esp + 0x3c]
push eax
push esi
mov dword [esp + 0x44], 0
call fcn.004080e0
test eax, eax
je 0x446d75
cmp dword [esp + 0x3c], 0
jne 0x446d80
mov edi, esi
call fcn.00408e00
test eax, eax
je 0x446d85
mov eax, 1
mov edi, dword [esp + 0x18]
mov dword [esi + 0xc], eax
cmp dword [esi + 0xc], 0
je 0x446da2
cmp dword [ebp + 0xb8], 0
je 0x446da2
mov eax, 1
jmp 0x446da4
xor eax, eax
mov ecx, dword [esp + 0x50]
mov edx, dword [ebx]
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 eax, dword [esp + 0xc0]
push eax
mov ecx, ebx
mov edx, dword [edx + 0x48]
call edx
cmp dword [esp + 0x1c], 0
je 0x446f53
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 + 0x160]
push ecx
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x15c]
push eax
lea ecx, [esp + 0x68]
push ecx
mov dword [esp + 0x74], edx
call dword [sym.imp.USER32.dll_OffsetRect]
call fcn.00407ca0
mov ebx, eax
cmp dword [ebx + 0xc], 0xffffffff
jne 0x446ea7
lea esi, [esp + 0x34]
call fcn.00408cc0
mov eax, dword [eax]
push eax
push 0
push 0x4c20e0
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x446e6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x446e90
lea ecx, [esp + 0x3c]
push ecx
push ebx
mov dword [esp + 0x44], 0
call fcn.004080e0
test eax, eax
je 0x446e90
cmp dword [esp + 0x3c], 0
jne 0x446e9b
mov edi, ebx
call fcn.00408e00
test eax, eax
je 0x446ea0
mov eax, 1
mov edi, dword [esp + 0x18]
mov dword [ebx + 0xc], eax
cmp dword [ebx + 0xc], 0
je 0x446ebe
cmp dword [ebp + 0xb8], 0
mov dword [esp + 0x3c], 1
jne 0x446ec6
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 + 0x64]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x74], esi
mov esi, dword [esp + 0x68]
mov edx, ecx
add ebx, ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x78], esi
mov esi, dword [esp + 0x6c]
push 0xff
mov dword [esp + 0x80], esi
lea esi, [ecx + eax]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0x24]
push edi
sub esp, 0x10
mov dword [esp + 0x58], eax
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x90]
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], esi
mov eax, dword [esp + 0xc0]
push eax
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 0x48]
call edx
mov ecx, dword [ebp + 0x178]
test ecx, ecx
je 0x446f74
mov eax, dword [ecx]
mov eax, dword [eax]
push 2
push edi
lea edx, [esp + 0x58]
push edx
mov edx, dword [esp + 0xb0]
push edx
push ebp
call eax
mov ecx, dword [ebp + 0x168]
mov eax, dword [ebp + 0x164]
push ecx
push eax
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
test edi, edi
jl 0x446fd1
cmp edi, dword [ebp + 0x10c]
jge 0x446fd1
jb 0x446f9f
xor eax, eax
jmp 0x446fb7
mov eax, dword [ebp + 0x104]
test eax, eax
je 0x446fb7
test edi, edi
jbe 0x446fb7
lea ecx, [ecx]
sub edi, 1
mov eax, dword [eax]
jne 0x446fb0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x446fcc
push 0x80004005
call fcn.004013e0
mov eax, dword [eax + 8]
jmp 0x446fd3
xor eax, eax
mov edx, dword [eax + 0x124]
test edx, edx
jne 0x446fe1
xor eax, eax
jmp 0x446ff5
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x446fe6
sub eax, esi
sar eax, 1
mov ebx, eax
push edx
lea eax, [esp + 0x2c]
call fcn.00401750
mov eax, dword [ebp + 0x174]
xor esi, esi
test eax, eax
je 0x44701e
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 + 0x38]
push eax
lea ecx, [esp + 0xb8]
push ecx
push ebp
call fcn.004470e0
test esi, esi
je 0x447064
mov edx, dword [esp + 0xa4]
push esi
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x44707c
push eax
mov eax, dword [esp + 0xa8]
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x447093
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 + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4470bb
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