Function at 0x42f740
Capabilities:
Access peb ldr_data
Enumerate pe sections
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x43dc48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
mov esi, ecx
push 0
push 0x2e
lea ecx, [esp + 0x14]
call fcn.0042f4c0
push 1
push 0x2e
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0
call fcn.0042f5b0
mov edi, dword [esp + 0x30]
push eax
mov ecx, edi
call fcn.0042d2e0
lea ecx, [esp + 0xc]
call fcn.0042f5b0
mov eax, dword [eax]
lea ecx, [esp + 0xc]
mov dword [esi + 4], eax
call fcn.0042f5b0
mov cx, word [eax + 4]
mov word [esi + 8], cx
lea ecx, [esp + 0xc]
call fcn.0042f5b0
mov dx, word [eax + 6]
lea ecx, [esp + 0xc]
mov word [esi + 0xa], dx
call fcn.0042f5b0
mov ax, word [eax + 8]
lea ecx, [esp + 0xc]
mov word [esi + 0xc], ax
call fcn.0042f5b0
mov cx, word [eax + 0xa]
mov word [esi + 0xe], cx
lea ecx, [esp + 0xc]
call fcn.0042f5b0
mov dx, word [eax + 0xc]
lea ecx, [esp + 0xc]
mov word [esi + 0x10], dx
call fcn.0042f5b0
mov ax, word [eax + 0xe]
lea ecx, [esp + 0xc]
mov word [esi + 0x12], ax
call fcn.0042f5b0
mov ecx, dword [eax + 0x10]
mov dword [esi + 0x14], ecx
lea ecx, [esp + 0xc]
call fcn.0042f5b0
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0xc]
mov dword [esi + 0x18], edx
call fcn.0042f5b0
mov eax, dword [eax + 0x18]
lea ecx, [esp + 0xc]
mov dword [esi + 0x1c], eax
call fcn.0042f5b0
mov cx, word [eax + 0x1c]
mov word [esi + 0x20], cx
lea ecx, [esp + 0xc]
call fcn.0042f5b0
mov dx, word [eax + 0x1e]
lea ecx, [esp + 0xc]
mov word [esi + 0x22], dx
call fcn.0042f5b0
mov ax, word [eax + 0x20]
lea ecx, [esp + 0xc]
mov word [esi + 0x24], ax
call fcn.0042f5b0
mov cx, word [eax + 0x22]
mov word [esi + 0x26], cx
lea ecx, [esp + 0xc]
call fcn.0042f5b0
mov dx, word [eax + 0x24]
lea ecx, [esp + 0xc]
mov word [esi + 0x28], dx
call fcn.0042f5b0
mov eax, dword [eax + 0x26]
mov dword [esi + 0x2a], eax
lea ecx, [esp + 0xc]
call fcn.0042f5b0
mov ecx, dword [eax + 0x2a]
mov dword [esi + 0x2e], ecx
lea ecx, [esp + 0xc]
call fcn.0042f520
mov eax, dword [esi + 4]
mov edx, 0x44c868
cmp eax, dword [edx]
je 0x42f8d9
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.0042f4f0
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
push ebx
push ebp
mov ecx, edi
call fcn.0042d6b0
mov ebp, dword [edi + 0xc]
mov dword [esp + 0x10], eax
xor eax, eax
add edi, 0xc
mov ax, word [esi + 0x20]
lea ebx, [esi + 0x32]
push eax
push eax
mov ecx, ebx
call sub.MFC42.DLL_CString::GetBuffer
push eax
mov ecx, edi
call dword [ebp + 0x3c]
xor ecx, ecx
mov cx, word [esi + 0x20]
push ecx
mov ecx, ebx
call sub.MFC42.DLL_CString::ReleaseBuffer
mov ax, word [esi + 0x22]
test ax, ax
je 0x42f943
lea ebx, [esi + 0x36]
and eax, 0xffff
push 0
push eax
mov ecx, ebx
call fcn.0042f550
mov ebp, dword [edi]
xor edx, edx
mov dx, word [esi + 0x22]
mov ecx, ebx
push edx
call fcn.0042f5b0
push eax
mov ecx, edi
call dword [ebp + 0x3c]
mov ax, word [esi + 0x24]
test ax, ax
je 0x42f973
mov ebp, dword [edi]
and eax, 0xffff
lea ebx, [esi + 0x42]
push eax
push eax
mov ecx, ebx
call sub.MFC42.DLL_CString::GetBuffer
push eax
mov ecx, edi
call dword [ebp + 0x3c]
xor eax, eax
mov ecx, ebx
mov ax, word [esi + 0x24]
push eax
call sub.MFC42.DLL_CString::ReleaseBuffer
mov ecx, dword [esp + 0x30]
call fcn.0042d6b0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
cmp eax, ecx
lea ecx, [esp + 0x14]
sete bl
call fcn.0042f4f0
mov ecx, dword [esp + 0x20]
mov al, bl
pop ebp
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 4