Function at 0x415f40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5e3e40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x18]
call fcn.005be9c9
mov eax, dword [0x65290c]
xor edi, edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x10], eax
push 0xe804
push 0x56002800
lea ecx, [ebx + 0x144]
push 0x400
push ebx
mov byte [esp + 0x48], 1
mov dword [esp + 0x24], ecx
call fcn.005cf145
test eax, eax
je 0x415fd6
push 0xe800
xor eax, eax
sub esp, 0x10
xor ecx, ecx
mov ebp, esp
xor edx, edx
lea esi, [ebx + 0x1bc]
push 0x50002000
mov dword [ebp], eax
push 0x50002834
push ebx
mov dword [ebp + 4], ecx
mov ecx, esi
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
call fcn.005dc20f
test eax, eax
jne 0x41600b
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call fcn.005c4b60
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
call fcn.005be9f2
or eax, 0xffffffff
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov ecx, dword [ebx + 0x1d8]
push 0x640028
push 0
push 0x43b
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 2
push 2
push 0x21
push 0x19
push 0x19
lea ecx, [esp + 0x2c]
call fcn.005bea8e
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov edx, dword [esp + 0x1c]
push eax
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
call fcn.005da7f7
call fcn.005da7f7
mov eax, dword [eax + 0xc]
mov edi, dword [sym.imp.USER32.dll_LoadIconA]
push 0x487
push eax
call edi
mov ebp, dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push eax
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
push eax
call ebp
call fcn.005da7f7
call fcn.005da7f7
mov eax, dword [eax + 0xc]
push 0x488
push eax
call edi
mov ecx, dword [esp + 0x1c]
push eax
push 0xffffffffffffffff
push ecx
call ebp
call fcn.005da7f7
call fcn.005da7f7
mov eax, dword [eax + 0xc]
push 0x48a
push eax
call edi
mov edx, dword [esp + 0x1c]
push eax
push 0xffffffffffffffff
push edx
call ebp
call fcn.005da7f7
call fcn.005da7f7
mov eax, dword [eax + 0xc]
push 0x48b
push eax
call edi
push eax
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
push eax
call ebp
call fcn.005da7f7
call fcn.005da7f7
mov eax, dword [eax + 0xc]
push 0x48c
push eax
call edi
mov ecx, dword [esp + 0x1c]
push eax
push 0xffffffffffffffff
push ecx
call ebp
call fcn.005da7f7
call fcn.005da7f7
mov eax, dword [eax + 0xc]
push 0x48d
push eax
call edi
mov edx, dword [esp + 0x1c]
push eax
push 0xffffffffffffffff
push edx
call ebp
call fcn.005da7f7
call fcn.005da7f7
mov eax, dword [eax + 0xc]
push 0x48e
push eax
call edi
push eax
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
push eax
call ebp
call fcn.005da7f7
call fcn.005da7f7
mov eax, dword [eax + 0xc]
push 0x48f
push eax
call edi
mov ecx, dword [esp + 0x1c]
push eax
push 0xffffffffffffffff
push ecx
call ebp
call fcn.005da7f7
call fcn.005da7f7
mov eax, dword [eax + 0xc]
push 0x490
push eax
call edi
mov edx, dword [esp + 0x1c]
push eax
push 0xffffffffffffffff
push edx
call ebp
call fcn.005da7f7
call fcn.005da7f7
mov eax, dword [eax + 0xc]
push 0x4e4
push eax
call edi
push eax
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
push eax
call ebp
call fcn.005da7f7
call fcn.005da7f7
mov eax, dword [eax + 0xc]
push 0x499
push eax
call edi
mov ecx, dword [esp + 0x1c]
push eax
push 0xffffffffffffffff
push ecx
call ebp
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [ebx + 0x1d8]
push eax
push 0
push 0x434
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.005bea5b
lea ecx, [esp + 0x18]
call fcn.005bea1b
push 2
push 2
push 0x21
push 0x19
push 0x19
lea ecx, [esp + 0x2c]
call fcn.005bea8e
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
call fcn.005da7f7
call fcn.005da7f7
mov eax, dword [eax + 0xc]
push 0x487
push eax
call edi
mov ecx, dword [esp + 0x1c]
push eax
push 0xffffffffffffffff
push ecx
call ebp
call fcn.005da7f7
call fcn.005da7f7
mov eax, dword [eax + 0xc]
push 0x488
push eax
call edi
mov edx, dword [esp + 0x1c]
push eax
push 0xffffffffffffffff
push edx
call ebp
call fcn.005da7f7
call fcn.005da7f7
mov eax, dword [eax + 0xc]
push 0x48a
push eax
call edi
push eax
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
push eax
call ebp
call fcn.005da7f7
call fcn.005da7f7
mov eax, dword [eax + 0xc]
push 0x48b
push eax
call edi
mov ecx, dword [esp + 0x1c]
push eax
push 0xffffffffffffffff
push ecx
call ebp
call fcn.005da7f7
call fcn.005da7f7
mov eax, dword [eax + 0xc]
push 0x48c
push eax
call edi
mov edx, dword [esp + 0x1c]
push eax
push 0xffffffffffffffff
push edx
call ebp
call fcn.005da7f7
call fcn.005da7f7
mov eax, dword [eax + 0xc]
push 0x48d
push eax
call edi
push eax
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
push eax
call ebp
call fcn.005da7f7
call fcn.005da7f7
mov eax, dword [eax + 0xc]
push 0x48e
push eax
call edi
push eax
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
push ecx
call ebp
call fcn.005da7f7
call fcn.005da7f7
mov eax, dword [eax + 0xc]
push 0x48f
push eax
call edi
mov edx, dword [esp + 0x1c]
push eax
push 0xffffffffffffffff
push edx
call ebp
call fcn.005da7f7
call fcn.005da7f7
mov eax, dword [eax + 0xc]
push 0x490
push eax
call edi
push eax
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
push eax
call ebp
call fcn.005da7f7
call fcn.005da7f7
mov eax, dword [eax + 0xc]
push 0x4e4
push eax
call edi
mov ecx, dword [esp + 0x1c]
push eax
push 0xffffffffffffffff
push ecx
call ebp
call fcn.005da7f7
call fcn.005da7f7
mov eax, dword [eax + 0xc]
push 0x499
push eax
call edi
mov edx, dword [esp + 0x1c]
push eax
push 0xffffffffffffffff
push edx
call ebp
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x18]
neg eax
sbb eax, eax
and eax, edi
push eax
mov eax, dword [ebx + 0x1d8]
push 0
push 0x430
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.005bea5b
lea ecx, [esp + 0x18]
call fcn.005bea1b
push 0
push 0x9850
push 0
mov ecx, esi
call fcn.005c40bd
push 0xa
push 0
mov ecx, esi
call fcn.005dc529
push 0
push 0
push 0x8004
push 0
mov ecx, esi
call fcn.005ce7d8
push 0x64b2f0
push 0
mov ecx, esi
call fcn.005ce916
push 1
push 0
push 0x8026
push 1
mov ecx, esi
call fcn.005ce7d8
push 0x64b2e4
push 1
mov ecx, esi
call fcn.005ce916
push 2
push 0
push 0x802f
push 2
mov ecx, esi
call fcn.005ce7d8
push 0x64b2d8
push 2
mov ecx, esi
call fcn.005ce916
push 3
push 0
push 0x802c
push 3
mov ecx, esi
call fcn.005ce7d8
push 0x64b2cc
push 3
mov ecx, esi
call fcn.005ce916
push 4
push 0
push 0x8046
push 4
mov ecx, esi
call fcn.005ce7d8
push 0x64b2c0
push 4
mov ecx, esi
call fcn.005ce916
push 5
push 0
push 0x8028
push 5
mov ecx, esi
call fcn.005ce7d8
push 0x64b2b4
push 5
mov ecx, esi
call fcn.005ce916
push 6
push 0
push 0x807a
push 6
mov ecx, esi
call fcn.005ce7d8
push 0x64b2a8
push 6
mov ecx, esi
call fcn.005ce916
push 7
push 0
push 0x808b
push 7
mov ecx, esi
call fcn.005ce7d8
push 0x64b2a0
push 7
mov ecx, esi
call fcn.005ce916
push 8
push 0
push 0x80b7
push 8
mov ecx, esi
call fcn.005ce7d8
push 0x64b294
push 8
mov ecx, esi
call fcn.005ce916
push 9
push 0
push 0x4a0
push 9
mov ecx, esi
call fcn.005ce7d8
push 0x64b288
push 9
mov ecx, esi
call fcn.005ce916
push 0xa
push 0
push 0x803f
push 0xa
mov ecx, esi
call fcn.005ce7d8
push 0x64b27c
push 0xa
mov ecx, esi
call fcn.005ce916
mov edx, dword [esi]
lea eax, [esp + 0x20]
push eax
push 0
mov ecx, esi
call dword [edx + 0xe0]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov edx, 0x19
mov edi, edx
sub eax, ecx
mov ecx, dword [esp + 0x28]
push edi
sub ecx, ebp
push edx
push eax
push ecx
mov ecx, esi
call fcn.005dc2f2
mov ecx, dword [esp + 0x14]
push 0xa0
push 0
push 0
push esi
call fcn.005cef43
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call fcn.005c4b60
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
call fcn.005be9f2
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret