Function at 0x42a970
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bf1ea
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push ebp
push esi
lea eax, [esp + 0x28]
push 0x100
xor ebx, ebx
push eax
mov esi, ecx
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x10]
call fcn.004b2819
push 0x5c
lea ecx, [esp + 0x10]
mov dword [esp + 0x134], ebx
call fcn.004acde8
cmp eax, 0xffffffff
jle 0x42a9f9
lea edx, [esp + 0x10]
push eax
push edx
lea ecx, [esp + 0x14]
call fcn.004acd70
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x134], 1
call fcn.004b28e4
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], bl
call fcn.004b27ab
push 0x2c
call fcn.004b2d7a
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x130], 2
je 0x42aa1c
mov ecx, eax
call fcn.00438a40
jmp 0x42aa1e
xor eax, eax
mov dword [esi + 0x30], eax
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
mov byte [esp + 0x138], bl
call fcn.004b2520
push ecx
lea edx, [esi + 0xac]
mov ebp, esp
mov dword [esp + 0x1c], esp
push ecx
mov byte [esp + 0x13c], 3
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.004b2520
push ebp
call fcn.0043e160
mov ecx, dword [esi + 0x30]
add esp, 8
mov byte [esp + 0x138], bl
call fcn.00438b90
cmp eax, ebx
je 0x42ac27
mov eax, dword [0x4ffa7c]
mov ecx, dword [esi + 0x30]
push eax
call fcn.00439260
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x30]
call fcn.00439600
mov eax, dword [0x4ffa7c]
mov byte [esp + 0x130], 4
cmp eax, ebx
je 0x42aad7
push 1
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.004b2520
mov ecx, dword [0x4ffa7c]
call fcn.0044eee0
cmp eax, ebx
je 0x42aad7
mov ecx, dword [esi + 0x30]
add eax, 0x9c
push eax
call fcn.00439690
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], bl
call fcn.004b27ab
mov eax, dword [esi + 0xf8]
mov ecx, dword [esi + 0xf4]
mov edx, dword [esi + 0xf0]
push eax
push ecx
mov ecx, dword [esi + 0x30]
push edx
call fcn.004391d0
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x100]
mov edx, dword [esi + 0xfc]
push eax
push ecx
mov ecx, dword [esi + 0x30]
push edx
call fcn.004391f0
mov eax, dword [esi + 0x110]
mov ecx, dword [esi + 0x10c]
mov edx, dword [esi + 0x108]
push eax
push ecx
mov ecx, dword [esi + 0x30]
push edx
call fcn.00439210
push ecx
lea eax, [esi + 0x1ac]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.004b2520
mov ecx, dword [esi + 0x30]
call fcn.00439370
push ecx
lea edx, [esi + 0x1b0]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.004b2520
mov ecx, dword [esi + 0x30]
call fcn.00439130
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.004b2520
mov ecx, dword [esi + 0x30]
call fcn.00439490
lea ecx, [esi + 0x9c]
mov edx, dword [esi + 0x9c]
mov dword [esp + 0x18], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x1c], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x20], edx
mov eax, dword [ecx + 0xc]
mov ecx, dword [esi + 0x228]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x22c]
push eax
push ecx
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
push ebx
push ebx
push eax
sub edx, eax
mov eax, dword [esp + 0x2c]
push ecx
sub eax, ecx
mov ecx, dword [esi + 0x30]
push edx
push eax
call fcn.00439230
mov ecx, dword [esi + 0x30]
push ebx
call fcn.004392c0
lea ecx, [esp + 0xc]
mov dword [esp + 0x130], 0xffffffff
call fcn.004b27ab
mov eax, 1
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
add esp, 0x128
ret
lea ecx, [esp + 0xc]
mov dword [esp + 0x130], 0xffffffff
call fcn.004b27ab
mov ecx, dword [esp + 0x128]
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x128
ret