Function at 0x4185d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42cd5d
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0x438020]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x84], eax
mov ecx, dword [esi + 0xa8]
mov edx, dword [0x439134]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x439134
xor ebp, ebp
xor edi, edi
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x84], 1
mov ecx, dword [esi + 0x4c]
call fcn.0040d480
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
mov ebx, dword [esi + 0xd8]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
call fcn.0040d420
test eax, eax
mov dword [esp + 0x30], eax
je 0x418695
mov ecx, eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
lea eax, [esp + 0x38]
push eax
call edx
mov ebp, dword [eax]
mov edi, dword [eax + 4]
mov ebx, dword [esi + 0xe0]
call fcn.0040d420
test eax, eax
mov dword [esp + 0x34], eax
je 0x4186b6
mov ecx, eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
lea edx, [esp + 0x38]
push edx
call eax
mov ebx, dword [esi + 0xe4]
call fcn.0040d420
test eax, eax
mov dword [esp + 0x24], eax
je 0x4186e4
mov ecx, eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
lea eax, [esp + 0x38]
push eax
call edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x4186f0
mov edi, eax
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x4186fc
mov ebp, eax
mov eax, dword [esi + 0x108]
sub eax, 0
je 0x41871a
sub eax, 1
jne 0x418726
mov eax, dword [esi + 0xc8]
add eax, ebp
add dword [esp + 0x48], eax
jmp 0x418726
mov ecx, dword [esi + 0xc8]
add ecx, edi
add dword [esp + 0x4c], ecx
mov ebx, dword [esi + 0xdc]
call fcn.0040d420
test eax, eax
mov edi, dword [esp + 0x8c]
je 0x418768
mov ecx, dword [esp + 0x48]
mov ebx, dword [eax]
push 0
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [esp + 0x60]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x64]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x68]
mov dword [edx + 0xc], ecx
mov edx, dword [ebx + 0x14]
push edi
mov ecx, eax
call edx
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x10c]
cmp eax, 0xffffffff
mov ecx, dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [esp + 0x18], 0xffffffff
jne 0x41879e
mov eax, dword [esi + 0x54]
cmp eax, 0xffffffff
jne 0x41879e
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x4187a6
push eax
push edi
call ecx
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x20]
test eax, eax
mov dword [esp + 0x1c], 0
je 0x4187c5
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0xa0]
xor edx, edx
test eax, eax
je 0x4187fb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x418d08
mov ecx, eax
mov ecx, dword [ecx + 8]
test ecx, ecx
mov eax, dword [eax]
je 0x4187f7
cmp dword [ecx + 0xc0], 0
jne 0x4187f7
add edx, 1
test eax, eax
jne 0x4187d1
xor ebp, ebp
cmp dword [esp + 0x2c], ebp
mov dword [esp + 0x38], edx
jle 0x418b49
mov ebx, dword [esp + 0x24]
nop
test ebp, ebp
jl 0x41884d
cmp ebp, dword [esi + 0xa8]
jge 0x41884d
jb 0x418822
xor eax, eax
jmp 0x418839
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x418839
test ebp, ebp
jbe 0x418839
mov ecx, ebp
sub ecx, 1
mov eax, dword [eax]
jne 0x418832
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x418d08
mov eax, dword [eax + 8]
jmp 0x41884f
xor eax, eax
cmp dword [eax + 0xc0], 0
jne 0x418b3c
lea edx, [esp + 0x48]
push edx
push ebp
call fcn.004182a0
test ebx, ebx
je 0x4189b7
mov edx, 1
cmp dword [esp + 0x38], edx
jle 0x4189b7
mov eax, dword [esi + 0x108]
sub dword [esp + 0x38], edx
xor ecx, ecx
sub eax, ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
je 0x418914
sub eax, edx
jne 0x41898b
mov ecx, dword [esp + 0x54]
mov eax, dword [esi + 0xc0]
add eax, ecx
push eax
mov eax, dword [esp + 0x54]
push eax
push ecx
mov ecx, dword [esp + 0x54]
push ecx
lea edx, [esp + 0x68]
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x60]
cmp eax, ecx
jle 0x4188dd
mov dword [esp + 0x58], ecx
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x64]
cmp ecx, eax
jle 0x4188f7
mov edx, ecx
mov ecx, eax
mov eax, edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x64], eax
sub eax, ecx
sub eax, dword [esp + 0x44]
cdq
sub eax, edx
sar eax, 1
neg eax
push eax
push 0
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
jmp 0x41898b
mov ecx, dword [esp + 0x50]
mov eax, dword [esi + 0xc0]
mov edx, dword [esp + 0x54]
push edx
add eax, ecx
push eax
mov eax, dword [esp + 0x54]
push eax
push ecx
lea ecx, [esp + 0x68]
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
cmp ecx, eax
jle 0x418951
mov edx, ecx
mov ecx, eax
mov eax, edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x60], eax
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x64]
cmp edx, edi
jle 0x418965
mov dword [esp + 0x5c], edi
mov dword [esp + 0x64], edx
sub eax, ecx
sub eax, dword [esp + 0x40]
push 0
cdq
sub eax, edx
sar eax, 1
neg eax
push eax
lea edx, [esp + 0x60]
push edx
call dword [sym.imp.USER32.dll_InflateRect]
mov edi, dword [esp + 0x8c]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x58]
mov edx, dword [ebx]
mov edx, dword [edx + 0x14]
push 0xffffffffffffffff
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, ebx
call edx
cmp ebp, dword [esi + 0xbc]
je 0x418b3c
cmp dword [esp + 0x30], 0
je 0x418a02
mov ebx, dword [esp + 0x48]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
xor eax, eax
cmp ebp, dword [esi + 0xb8]
sete al
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x60]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x64]
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0x68]
push edi
mov dword [eax + 0xc], ebx
call edx
cmp dword [esp + 0x34], 0
je 0x418a78
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esi + 0xfc]
push ecx
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0xf8]
push eax
lea ecx, [esp + 0x70]
push ecx
mov dword [esp + 0x7c], edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ebx, dword [esp + 0x68]
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
push ebp
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x80]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x84]
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0x88]
mov dword [eax + 0xc], ebx
mov eax, dword [edx + 0x14]
push edi
call eax
mov ecx, dword [esi + 0x104]
mov eax, dword [esi + 0x100]
push ecx
push eax
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
test ebp, ebp
jl 0x418ace
cmp ebp, dword [esi + 0xa8]
jge 0x418ace
jb 0x418aa3
xor eax, eax
jmp 0x418aba
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x418aba
test ebp, ebp
jbe 0x418aba
mov ecx, ebp
sub ecx, 1
mov eax, dword [eax]
jne 0x418ab3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x418d08
mov eax, dword [eax + 8]
jmp 0x418ad0
xor eax, eax
mov edx, dword [eax + 0xbc]
test edx, edx
jne 0x418ade
xor eax, eax
jmp 0x418af2
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418ae3
sub eax, edi
sar eax, 1
mov ebx, eax
push edx
lea eax, [esp + 0x24]
call fcn.0040a270
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], edx
lea edx, [esp + 0x9c]
mov dword [eax + 0xc], ecx
push edx
lea edx, [esp + 0x34]
mov ecx, esi
call fcn.00418e20
mov edi, dword [esp + 0x8c]
mov ebx, dword [esp + 0x24]
add ebp, 1
cmp ebp, dword [esp + 0x2c]
jl 0x418810
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x418b71
cmp dword [esp + 0x1c], 0
jne 0x418b69
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x1c], eax
jmp 0x418b71
mov dword [esp + 0x1c], 0
mov ebp, dword [esp + 0x28]
cmp dword [ebp + 0x10], 0xffffffff
je 0x418b94
mov ecx, dword [esp + 0x18]
mov ebx, dword [sym.imp.GDI32.dll_SetTextColor]
push ecx
push edi
call ebx
mov eax, dword [ebp + 0x10]
push eax
push edi
call ebx
mov dword [esp + 0x18], eax
xor edi, edi
cmp dword [esp + 0x2c], edi
jle 0x418da7
mov edx, dword [esp + 0x2c]
test edi, edi
jl 0x418be1
cmp edi, dword [esi + 0xa8]
jge 0x418be1
jb 0x418bb6
xor eax, eax
jmp 0x418bcd
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x418bcd
test edi, edi
jbe 0x418bcd
mov ecx, edi
sub ecx, 1
mov eax, dword [eax]
jne 0x418bc6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x418d08
mov eax, dword [eax + 8]
jmp 0x418be3
xor eax, eax
cmp dword [eax + 0xc0], 0
jne 0x418bf4
cmp edi, dword [esi + 0xbc]
je 0x418c00
add edi, 1
cmp edi, edx
jl 0x418ba4
jmp 0x418da7
lea edx, [esp + 0x48]
push edx
push edi
call fcn.004182a0
mov ecx, dword [esp + 0x30]
test ecx, ecx
mov ebp, dword [esp + 0x8c]
je 0x418c44
mov ebx, dword [esp + 0x48]
mov edx, dword [ecx]
push 2
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x60]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x64]
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0x68]
mov dword [eax + 0xc], ebx
mov eax, dword [edx + 0x14]
push ebp
call eax
mov ebx, dword [esp + 0x34]
test ebx, ebx
je 0x418cbd
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x74], ecx
mov ecx, dword [esi + 0xfc]
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0xf8]
push ecx
mov dword [esp + 0x70], edx
push eax
lea edx, [esp + 0x70]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esp + 0x68]
mov edx, dword [ebx]
mov edx, dword [edx + 0x14]
push edi
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x80]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x84]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x88]
mov dword [eax + 0xc], ecx
push ebp
mov ecx, ebx
call edx
mov ecx, dword [esi + 0x104]
mov eax, dword [esi + 0x100]
push ecx
push eax
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
test edi, edi
jl 0x418d17
cmp edi, dword [esi + 0xa8]
jge 0x418d17
jb 0x418ce8
xor eax, eax
jmp 0x418cfd
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x418cfd
test edi, edi
jbe 0x418cfd
sub edi, 1
mov eax, dword [eax]
jne 0x418cf6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x418d12
push 0x80004005
call fcn.00401050
mov eax, dword [eax + 8]
jmp 0x418d19
xor eax, eax
mov edx, dword [eax + 0xbc]
test edx, edx
jne 0x418d27
xor eax, eax
jmp 0x418d3f
mov eax, edx
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418d30
sub eax, edi
sar eax, 1
mov ebx, eax
push edx
lea eax, [esp + 0x24]
call fcn.0040a270
mov eax, dword [esi + 0x110]
xor edi, edi
test eax, eax
je 0x418d61
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, eax
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x64]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x9c]
push eax
lea edx, [esp + 0x34]
mov ecx, esi
call fcn.00418e20
test edi, edi
je 0x418da7
mov ecx, dword [esp + 0x8c]
push edi
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x418dbf
mov edx, dword [esp + 0x8c]
push eax
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x418dd6
push eax
mov eax, dword [esp + 0x90]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov byte [esp + 0x84], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418dfe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 4