Function at 0x47b4d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x402956
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x401c80
xor ecx, ecx
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x2c], ecx
xor eax, eax
mov edi, dword [0x4011b4]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], ecx
xor edx, edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x3c], edx
lea eax, [ebp - 0xc0]
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x38], edx
xor ebx, ebx
push eax
push ecx
mov word [ebp - 0x34], dx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xc0], 0x4011
call edi
lea edx, [ebp - 0x90]
lea eax, [ebp - 0xa0]
push edx
push eax
mov dword [ebp - 0xc8], 1
mov dword [ebp - 0xd0], 0x8002
call dword [0x401080]
lea ecx, [ebp - 0xd0]
push eax
push ecx
call dword [0x4010e8]
lea ecx, [ebp - 0x90]
mov word [ebp - 0xd8], ax
call dword [fcn.00401024]
cmp word [ebp - 0xd8], bx
je 0x47b658
lea edx, [ebp - 0xc0]
lea eax, [ebp - 0x90]
push edx
push eax
mov dword [ebp - 0xc8], 0x40e890
mov dword [ebp - 0xd0], 8
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xc0], 0x4011
call edi
lea ecx, [ebp - 0xd0]
lea edx, [ebp - 0x90]
push ecx
lea eax, [ebp - 0xa0]
push edx
push eax
call dword [0x401174]
push eax
call dword [0x40102c]
mov esi, dword [0x401230]
mov edx, eax
lea ecx, [ebp - 0x40]
call esi
lea ecx, [ebp - 0xa0]
lea edx, [ebp - 0x90]
push ecx
push edx
push 2
call dword [0x401038]
add esp, 0xc
jmp 0x47b69e
lea eax, [ebp - 0xc0]
lea ecx, [ebp - 0x90]
push eax
push ecx
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xc0], 0x4011
call edi
lea edx, [ebp - 0x90]
push edx
call dword [0x40102c]
mov esi, dword [0x401230]
mov edx, eax
lea ecx, [ebp - 0x40]
call esi
lea ecx, [ebp - 0x90]
call dword [fcn.00401024]
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0xc0]
lea edx, [ebp - 0x90]
push ecx
push edx
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xc0], 0x4011
call edi
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0xa0]
push eax
push ecx
mov dword [ebp - 0xc8], 1
mov dword [ebp - 0xd0], 0x8002
call dword [0x401080]
lea edx, [ebp - 0xd0]
push eax
push edx
call dword [0x4010e8]
lea ecx, [ebp - 0x90]
mov word [ebp - 0xd8], ax
call dword [fcn.00401024]
cmp word [ebp - 0xd8], bx
je 0x47b78e
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0xc0]
lea edx, [ebp - 0x90]
push ecx
push edx
mov dword [ebp - 0xc8], 0x40e890
mov dword [ebp - 0xd0], 8
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xc0], 0x4011
call edi
lea eax, [ebp - 0xd0]
lea ecx, [ebp - 0x90]
push eax
lea edx, [ebp - 0xa0]
push ecx
push edx
call dword [0x401174]
push eax
call dword [0x40102c]
mov edx, eax
lea ecx, [ebp - 0x54]
call esi
lea eax, [ebp - 0xa0]
lea ecx, [ebp - 0x90]
push eax
push ecx
push 2
call dword [0x401038]
add esp, 0xc
jmp 0x47b7d1
mov edx, dword [ebp + 0x10]
lea eax, [ebp - 0xc0]
lea ecx, [ebp - 0x90]
push eax
push ecx
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0xc0], 0x4011
call edi
lea edx, [ebp - 0x90]
push edx
call dword [0x40102c]
mov edx, eax
lea ecx, [ebp - 0x54]
call esi
lea ecx, [ebp - 0x90]
call dword [fcn.00401024]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x54]
push eax
push ecx
call dword [0x401068]
lea edx, [ebp - 0x1c]
push eax
push edx
push 4
call dword [0x401178]
mov ebx, dword [0x401070]
lea eax, [ebp - 0x2c]
push 0x417204
push eax
push 8
call ebx
lea ecx, [ebp - 0x3c]
push ecx
push 5
call dword [0x4010b8]
mov edx, eax
lea ecx, [ebp - 0x78]
call esi
mov edi, dword [0x401204]
lea edx, [ebp - 0x7c]
push eax
push edx
call edi
push eax
lea eax, [ebp - 0x2c]
push 8
push eax
push 8
call dword [0x4010b8]
mov edx, eax
lea ecx, [ebp - 0x6c]
call esi
lea ecx, [ebp - 0x70]
push eax
push ecx
call edi
push eax
lea edx, [ebp - 0x1c]
push 4
push edx
push 4
call dword [0x4010b8]
mov edx, eax
lea ecx, [ebp - 0x60]
call esi
push eax
lea eax, [ebp - 0x64]
push eax
call edi
push eax
call fcn.0040a494
call dword [fcn.00401074]
mov ecx, dword [ebp - 0x64]
mov edi, dword [0x401150]
lea edx, [ebp - 0x68]
push ecx
push edx
call edi
push eax
lea eax, [ebp - 0x1c]
push eax
push 4
call ebx
mov ecx, dword [ebp - 0x70]
lea edx, [ebp - 0x74]
push ecx
push edx
call edi
push eax
lea eax, [ebp - 0x2c]
push eax
push 8
call ebx
mov ecx, dword [ebp - 0x7c]
lea edx, [ebp - 0x80]
push ecx
push edx
call edi
push eax
lea eax, [ebp - 0x3c]
push eax
push 5
call ebx
lea ecx, [ebp - 0x80]
lea edx, [ebp - 0x7c]
push ecx
lea eax, [ebp - 0x78]
push edx
lea ecx, [ebp - 0x74]
push eax
lea edx, [ebp - 0x70]
push ecx
lea eax, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x68]
push eax
lea edx, [ebp - 0x64]
push ecx
lea eax, [ebp - 0x60]
push edx
push eax
push 9
call dword [0x4011bc]
add esp, 0x28
mov edx, 0x40947c
lea ecx, [ebp - 0x5c]
call dword [0x4011b8]
mov dword [ebp - 0xe0], 4
mov edi, 1
cmp di, word [ebp - 0xe0]
jg 0x47b992
movsx edx, di
lea ecx, [ebp - 0x90]
lea eax, [ebp - 0x3c]
push ecx
push edx
push eax
push 5
mov dword [ebp - 0x88], 1
mov dword [ebp - 0x90], 2
call dword [0x4010b8]
mov edx, eax
lea ecx, [ebp - 0x60]
call esi
push eax
call dword [0x4010c8]
mov edx, eax
lea ecx, [ebp - 0x64]
call esi
mov ecx, dword [ebp - 0x60]
lea edx, [ebp - 0x3c]
push ecx
push edx
push 5
call ebx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x64]
push eax
push ecx
call dword [0x401068]
mov edx, eax
lea ecx, [ebp - 0x5c]
call esi
lea edx, [ebp - 0x64]
lea eax, [ebp - 0x60]
push edx
push eax
push 2
call dword [0x4011bc]
add esp, 0xc
lea ecx, [ebp - 0x90]
call dword [fcn.00401024]
mov eax, 1
add ax, di
jo 0x47bb47
mov edi, eax
jmp 0x47b8f0
mov edi, dword [0x4010cc]
mov eax, 2
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x90]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0xb8], ecx
push edx
lea eax, [ebp - 0xc0]
push 1
lea ecx, [ebp - 0xa0]
push eax
push ecx
mov dword [ebp - 0xc0], 0x4008
call edi
lea edx, [ebp - 0xa0]
push edx
call dword [0x40102c]
mov edx, eax
lea ecx, [ebp - 0x60]
call esi
lea eax, [ebp - 0x60]
push eax
call fcn.0046b130
mov ecx, dword [0x48a36c]
mov ebx, dword [0x401260]
mov byte [ecx + 1], al
lea ecx, [ebp - 0x60]
call ebx
lea edx, [ebp - 0xa0]
lea eax, [ebp - 0x90]
push edx
push eax
push 2
call dword [0x401038]
add esp, 0xc
mov eax, 2
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x90]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0xb8], ecx
push edx
lea eax, [ebp - 0xc0]
push 3
lea ecx, [ebp - 0xa0]
push eax
push ecx
mov dword [ebp - 0xc0], 0x4008
call edi
lea edx, [ebp - 0xa0]
push edx
call dword [0x40102c]
mov edx, eax
lea ecx, [ebp - 0x60]
call esi
lea eax, [ebp - 0x60]
push eax
call fcn.0046b130
mov ecx, dword [0x48a36c]
mov byte [ecx], al
lea ecx, [ebp - 0x60]
call ebx
lea edx, [ebp - 0xa0]
lea eax, [ebp - 0x90]
push edx
push eax
push 2
call dword [0x401038]
add esp, 0xc
push 0x47bb18
jmp 0x47bb02
mov esi, dword [0x401260]
lea ecx, [ebp - 0x40]
call esi
lea ecx, [ebp - 0x54]
call esi
lea ecx, [ebp - 0x5c]
call esi
ret
call dword [0x40118c]
nop
nop
nop