Function at 0x41a610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a5a7d
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d62b0]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov esi, ecx
xor ebp, ebp
mov dword [esp + 0x6c], ebp
mov eax, dword [esi + 0xdc]
mov edx, dword [0x4da734]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4da734
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x6c], 1
cmp dword [esi + 0x108], ebp
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
je 0x41a6bc
mov ecx, dword [esi + 0x108]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x1c]
push eax
call edx
mov ebx, dword [eax]
mov edi, dword [eax + 4]
cmp dword [esi + 0x110], ebp
je 0x41a6d6
mov ecx, dword [esi + 0x110]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
lea edx, [esp + 0x1c]
push edx
call eax
cmp dword [esi + 0x114], ebp
je 0x41a6fd
mov ecx, dword [esi + 0x114]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x1c]
push eax
call edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov eax, dword [esi + 0x104]
cmp eax, ebp
je 0x41a709
mov edi, eax
mov eax, dword [esi + 0x100]
cmp eax, ebp
je 0x41a715
mov ebx, eax
mov eax, dword [esi + 0x138]
sub eax, ebp
je 0x41a732
sub eax, 1
jne 0x41a73e
mov eax, dword [esi + 0xfc]
add eax, ebx
add dword [esp + 0x30], eax
jmp 0x41a73e
mov ecx, dword [esi + 0xfc]
add ecx, edi
add dword [esp + 0x34], ecx
cmp dword [esi + 0x10c], ebp
mov edi, dword [esp + 0x74]
je 0x41a779
mov ebx, dword [esp + 0x30]
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
push ebp
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x48]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x4c]
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0x50]
mov dword [eax + 0xc], ebx
mov eax, dword [edx + 0x18]
push edi
call eax
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x34]
cmp eax, 0xffffffff
je 0x41a792
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esi + 0x4c]
cmp eax, ebp
mov dword [esp + 0x1c], ebp
je 0x41a7a9
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0xd4]
xor edx, edx
cmp eax, ebp
je 0x41a7de
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
je 0x41acb9
mov ecx, eax
mov ecx, dword [ecx + 8]
cmp ecx, ebp
mov eax, dword [eax]
je 0x41a7da
cmp dword [ecx + 0xf4], ebp
jne 0x41a7da
add edx, 1
cmp eax, ebp
jne 0x41a7b5
mov edi, dword [esp + 0x74]
xor ebp, ebp
cmp dword [esp + 0x24], ebp
mov dword [esp + 0x18], edx
jle 0x41ab0a
test ebp, ebp
jl 0x41a82f
cmp ebp, dword [esi + 0xdc]
jge 0x41a82f
jb 0x41a804
xor eax, eax
jmp 0x41a81b
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x41a81b
test ebp, ebp
jbe 0x41a81b
mov ecx, ebp
sub ecx, 1
mov eax, dword [eax]
jne 0x41a814
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x41acb9
mov eax, dword [eax + 8]
jmp 0x41a831
xor eax, eax
cmp dword [eax + 0xf4], 0
jne 0x41aafd
lea ecx, [esp + 0x30]
push ecx
mov ebx, ebp
call fcn.0041a320
xor ebx, ebx
cmp dword [esi + 0x114], ebx
je 0x41a999
mov ecx, 1
cmp dword [esp + 0x18], ecx
jle 0x41a999
mov eax, dword [esi + 0x138]
sub dword [esp + 0x18], ecx
sub eax, ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
je 0x41a8fa
sub eax, ecx
jne 0x41a969
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi + 0xf4]
mov edx, dword [esp + 0x38]
add eax, ecx
push eax
mov eax, dword [esp + 0x34]
push edx
push ecx
push eax
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jle 0x41a8c4
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
cmp ecx, eax
jle 0x41a8de
mov edx, ecx
mov ecx, eax
mov eax, edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], eax
sub eax, ecx
sub eax, dword [esp + 0x2c]
cdq
sub eax, edx
sar eax, 1
neg eax
push eax
push ebx
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.USER32.dll_InflateRect]
jmp 0x41a969
mov ecx, dword [esp + 0x38]
mov eax, dword [esi + 0xf4]
mov edx, dword [esp + 0x3c]
push edx
add eax, ecx
push eax
mov eax, dword [esp + 0x3c]
push eax
push ecx
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
cmp ecx, eax
jle 0x41a937
mov edx, ecx
mov ecx, eax
mov eax, edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x4c]
cmp edx, edi
jle 0x41a94b
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], edx
sub eax, ecx
sub eax, dword [esp + 0x28]
push ebx
cdq
sub eax, edx
sar eax, 1
neg eax
push eax
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.USER32.dll_InflateRect]
mov edi, dword [esp + 0x74]
mov ebx, dword [esp + 0x40]
mov ecx, dword [esi + 0x114]
mov edx, dword [ecx]
push 0xffffffffffffffff
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x58]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x5c]
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0x60]
mov dword [eax + 0xc], ebx
mov eax, dword [edx + 0x18]
push edi
call eax
cmp ebp, dword [esi + 0xf0]
je 0x41aafd
cmp dword [esi + 0x108], 0
je 0x41a9e8
mov ebx, dword [esp + 0x30]
mov ecx, dword [esi + 0x108]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
xor eax, eax
cmp ebp, dword [esi + 0xec]
sete al
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x48]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x4c]
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0x50]
push edi
mov dword [eax + 0xc], ebx
call edx
cmp dword [esi + 0x110], 0
je 0x41aa59
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x54], ecx
mov ecx, dword [esi + 0x12c]
push ecx
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x128]
push eax
lea ecx, [esp + 0x58]
push ecx
mov dword [esp + 0x64], edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ebx, dword [esp + 0x50]
mov ecx, dword [esi + 0x110]
mov edx, dword [ecx]
push ebp
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x68]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x6c]
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0x70]
mov dword [eax + 0xc], ebx
mov eax, dword [edx + 0x18]
push edi
call eax
mov ecx, dword [esi + 0x134]
mov eax, dword [esi + 0x130]
push ecx
push eax
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
test ebp, ebp
jl 0x41aaaf
cmp ebp, dword [esi + 0xdc]
jge 0x41aaaf
jb 0x41aa84
xor eax, eax
jmp 0x41aa9b
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x41aa9b
test ebp, ebp
jbe 0x41aa9b
mov ecx, ebp
sub ecx, 1
mov eax, dword [eax]
jne 0x41aa94
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x41acb9
mov eax, dword [eax + 8]
jmp 0x41aab1
xor eax, eax
mov edx, dword [eax + 0xf0]
test edx, edx
jne 0x41aabf
xor eax, eax
jmp 0x41aad7
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41aac4
sub eax, edi
mov edi, dword [esp + 0x74]
sar eax, 1
mov ebx, eax
push edx
lea eax, [esp + 0x18]
call fcn.0040cfc0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
push 0x88a5
lea edx, [esp + 0x34]
push edx
push eax
push ecx
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
add ebp, 1
cmp ebp, dword [esp + 0x24]
jl 0x41a7f2
mov eax, dword [esi + 0x50]
test eax, eax
je 0x41ab28
cmp dword [esp + 0x1c], 0
jne 0x41ab24
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebp, eax
jmp 0x41ab2c
xor ebp, ebp
jmp 0x41ab2c
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi + 0x38]
cmp eax, 0xffffffff
je 0x41ab3c
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [esp + 0x24]
xor ebx, ebx
test edx, edx
jle 0x41ad15
lea ebx, [ebx]
test ebx, ebx
jl 0x41ab8d
cmp ebx, dword [esi + 0xdc]
jge 0x41ab8d
jb 0x41ab62
xor eax, eax
jmp 0x41ab79
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x41ab79
test ebx, ebx
jbe 0x41ab79
mov ecx, ebx
sub ecx, 1
mov eax, dword [eax]
jne 0x41ab72
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x41acb9
mov eax, dword [eax + 8]
jmp 0x41ab8f
xor eax, eax
cmp dword [eax + 0xf4], 0
jne 0x41aba0
cmp ebx, dword [esi + 0xf0]
je 0x41abac
add ebx, 1
cmp ebx, edx
jl 0x41ab50
jmp 0x41ad15
lea eax, [esp + 0x30]
push eax
call fcn.0041a320
cmp dword [esi + 0x108], 0
je 0x41abf6
mov edi, dword [esp + 0x30]
mov ecx, dword [esi + 0x108]
mov edx, dword [ecx]
push 2
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x48]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x4c]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x50]
mov dword [eax + 0xc], edi
mov edi, dword [esp + 0x88]
mov eax, dword [edx + 0x18]
push edi
call eax
cmp dword [esi + 0x110], 0
je 0x41ac6e
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esi + 0x12c]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x128]
push ecx
mov dword [esp + 0x58], edx
push eax
lea edx, [esp + 0x58]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov edi, dword [esp + 0x50]
mov ecx, dword [esi + 0x110]
mov edx, dword [ecx]
push ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x68]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x6c]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x70]
mov dword [eax + 0xc], edi
mov edi, dword [esp + 0x88]
mov eax, dword [edx + 0x18]
push edi
call eax
mov ecx, dword [esi + 0x134]
mov eax, dword [esi + 0x130]
push ecx
push eax
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
test ebx, ebx
jl 0x41acc8
cmp ebx, dword [esi + 0xdc]
jge 0x41acc8
jb 0x41ac99
xor eax, eax
jmp 0x41acae
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x41acae
test ebx, ebx
jbe 0x41acae
sub ebx, 1
mov eax, dword [eax]
jne 0x41aca7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41acc3
push 0x80004005
call fcn.00401050
mov eax, dword [eax + 8]
jmp 0x41acca
xor eax, eax
mov edx, dword [eax + 0xf0]
test edx, edx
jne 0x41acd8
xor eax, eax
jmp 0x41acef
mov eax, edx
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41ace0
sub eax, esi
sar eax, 1
mov ebx, eax
push edx
lea eax, [esp + 0x18]
call fcn.0040cfc0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
push 0x88a5
lea edx, [esp + 0x34]
push edx
push eax
push ecx
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
test ebp, ebp
je 0x41ad21
push ebp
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov byte [esp + 0x6c], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ad46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 4