Function at 0x474240
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4a0f1e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
mov eax, dword [esp + 0x190]
xor edx, edx
mov dword [esp + 0x2c], edx
push ebx
mov dword [esp + 0x34], edx
add eax, 6
mov ebx, ecx
mov dword [esp + 0x38], edx
mov cl, byte [eax]
push ebp
mov dword [esp + 0x40], edx
push esi
add eax, 2
push edi
mov byte [esp + 0x14], cl
mov dword [esp + 0x4c], edx
mov ecx, 5
mov esi, eax
lea edi, [esp + 0x3c]
mov byte [esp + 0x50], dl
add eax, 0x14
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
mov dl, byte [eax + 4]
add eax, 4
mov dword [esp + 0x38], ecx
inc eax
mov byte [esp + 0x16], dl
mov cl, byte [eax]
mov dx, word [eax + 2]
add eax, 2
mov byte [esp + 0x13], cl
add eax, 2
mov word [esp + 0x2c], dx
mov cl, byte [eax]
mov dx, word [eax + 1]
inc eax
mov byte [esp + 0x15], cl
add eax, 2
mov word [esp + 0x24], dx
mov cx, word [eax]
mov dx, word [eax + 2]
add eax, 2
mov word [esp + 0x34], cx
add eax, 2
mov word [esp + 0x18], dx
mov cx, word [eax]
mov dl, byte [eax + 2]
add eax, 2
mov word [esp + 0x30], cx
inc eax
mov byte [esp + 0x17], dl
mov cx, word [eax]
add eax, 2
mov word [esp + 0x28], cx
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x1c], ecx
movsx dx, byte [eax]
lea eax, [esp + 0x110]
mov word [esp + 0x20], dx
push eax
lea edx, [esp + 0x154]
lea eax, [esp + 0x5c]
push edx
push eax
push ecx
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebx
call fcn.00454500
movsx edx, byte [esp + 0x14]
mov eax, dword [ebx + edx*4 + 0x4b100]
lea ebp, [ebx + edx*4 + 0x4b100]
test eax, eax
jne 0x4744a9
push 0x4c
call fcn.00491cd3
add esp, 4
mov dword [esp + 0x54], eax
test eax, eax
mov dword [esp + 0x198], 0
je 0x474381
mov ecx, eax
call fcn.0048f940
jmp 0x474383
xor eax, eax
mov edx, dword [esp + 0x38]
lea edi, [eax + 4]
mov ecx, 5
lea esi, [esp + 0x3c]
mov dword [ebp], eax
mov dword [esp + 0x198], 0xffffffff
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp]
lea edi, [esp + 0x98]
mov dword [eax + 0x44], edx
mov ecx, dword [ebp]
mov al, byte [esp + 0x16]
mov byte [ecx + 0x19], al
mov ecx, dword [ebp]
mov al, byte [esp + 0x13]
mov byte [ecx + 0x1a], al
mov ecx, dword [ebp]
mov ax, word [esp + 0x2c]
mov word [ecx + 0x1e], ax
mov ecx, dword [ebp]
mov al, byte [esp + 0x15]
mov byte [ecx + 0x1d], al
mov ecx, dword [ebp]
mov ax, word [esp + 0x24]
mov word [ecx + 0x3a], ax
mov ecx, dword [ebp]
mov ax, word [esp + 0x34]
mov word [ecx + 0x40], ax
mov ecx, dword [ebp]
mov ax, word [esp + 0x18]
mov word [ecx + 0x20], ax
mov ecx, dword [ebp]
mov ax, word [esp + 0x30]
mov word [ecx + 0x22], ax
mov ecx, dword [ebp]
mov al, byte [esp + 0x17]
mov byte [ecx + 0x1b], al
mov ecx, dword [ebp]
mov ax, word [esp + 0x28]
mov word [ecx + 0x30], ax
mov ecx, dword [ebp]
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0x48], eax
mov ecx, dword [ebp]
mov ax, word [esp + 0x20]
mov word [ecx + 0x2a], ax
mov ecx, 0x1e
xor eax, eax
cmp edx, 1
rep stosd dword es:[edi], eax
jne 0x474461
lea ecx, [esp + 0x58]
lea edx, [esp + 0x98]
push ecx
push 0x4aeaf0
push edx
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0xc
jmp 0x47447d
lea eax, [esp + 0x58]
lea ecx, [esp + 0x98]
push eax
push edx
push 0x4aead0
push ecx
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebx + 0x4e334]
call fcn.00491a60
cmp eax, 1
jne 0x474496
mov word [ebx + 0xc44], 0x6d
push 1
lea edx, [esp + 0x9c]
push 0xa
push edx
mov ecx, ebx
call fcn.0040fba0
mov ecx, dword [esp + 0x190]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4