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

Disassembly:
push 0xffffffffffffffff
push 0x4176d8
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.0040f4f0
push 1
push 0x2e
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0
call fcn.0040f5d0
mov edi, dword [esp + 0x30]
push eax
mov ecx, edi
call fcn.0040d4e0
lea ecx, [esp + 0xc]
call fcn.0040f5d0
mov eax, dword [eax]
lea ecx, [esp + 0xc]
mov dword [esi + 4], eax
call fcn.0040f5d0
mov cx, word [eax + 4]
mov word [esi + 8], cx
lea ecx, [esp + 0xc]
call fcn.0040f5d0
mov dx, word [eax + 6]
lea ecx, [esp + 0xc]
mov word [esi + 0xa], dx
call fcn.0040f5d0
mov ax, word [eax + 8]
lea ecx, [esp + 0xc]
mov word [esi + 0xc], ax
call fcn.0040f5d0
mov cx, word [eax + 0xa]
mov word [esi + 0xe], cx
lea ecx, [esp + 0xc]
call fcn.0040f5d0
mov dx, word [eax + 0xc]
lea ecx, [esp + 0xc]
mov word [esi + 0x10], dx
call fcn.0040f5d0
mov ax, word [eax + 0xe]
lea ecx, [esp + 0xc]
mov word [esi + 0x12], ax
call fcn.0040f5d0
mov ecx, dword [eax + 0x10]
mov dword [esi + 0x14], ecx
lea ecx, [esp + 0xc]
call fcn.0040f5d0
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0xc]
mov dword [esi + 0x18], edx
call fcn.0040f5d0
mov eax, dword [eax + 0x18]
lea ecx, [esp + 0xc]
mov dword [esi + 0x1c], eax
call fcn.0040f5d0
mov cx, word [eax + 0x1c]
mov word [esi + 0x20], cx
lea ecx, [esp + 0xc]
call fcn.0040f5d0
mov dx, word [eax + 0x1e]
lea ecx, [esp + 0xc]
mov word [esi + 0x22], dx
call fcn.0040f5d0
mov ax, word [eax + 0x20]
lea ecx, [esp + 0xc]
mov word [esi + 0x24], ax
call fcn.0040f5d0
mov cx, word [eax + 0x22]
mov word [esi + 0x26], cx
lea ecx, [esp + 0xc]
call fcn.0040f5d0
mov dx, word [eax + 0x24]
lea ecx, [esp + 0xc]
mov word [esi + 0x28], dx
call fcn.0040f5d0
mov eax, dword [eax + 0x26]
mov dword [esi + 0x2c], eax
lea ecx, [esp + 0xc]
call fcn.0040f5d0
mov ecx, dword [eax + 0x2a]
mov dword [esi + 0x30], ecx
lea ecx, [esp + 0xc]
call fcn.0040f540
mov eax, dword [esi + 4]
mov edx, 0x41f194
cmp eax, dword [edx]
je 0x40cf69
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.0040f520
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.0040d8a0
mov ebp, dword [edi + 0xc]
mov dword [esp + 0x10], eax
xor eax, eax
add edi, 0xc
mov ax, word [esi + 0x20]
lea ebx, [esi + 0x34]
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 0x40cfd3
lea ebx, [esi + 0x38]
and eax, 0xffff
push 0
push eax
mov ecx, ebx
call fcn.0040f570
mov ebp, dword [edi]
xor edx, edx
mov dx, word [esi + 0x22]
mov ecx, ebx
push edx
call fcn.0040f5d0
push eax
mov ecx, edi
call dword [ebp + 0x3c]
mov ax, word [esi + 0x24]
test ax, ax
je 0x40d003
mov ebp, dword [edi]
and eax, 0xffff
lea ebx, [esi + 0x44]
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.0040d8a0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
cmp eax, ecx
lea ecx, [esp + 0x14]
sete bl
call fcn.0040f520
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