Function at 0x46c270
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x561d39
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x24]
push ebp
push esi
mov edx, dword [ebx]
push edi
mov edi, ecx
lea esi, [ebx + 4]
mov eax, dword [edi + 0xc]
mov ecx, dword [esi]
push eax
push ecx
push edx
lea eax, [edi + 8]
push 0x5b2ac0
push eax
call fcn.005134dc
add esp, 0x14
lea ecx, [edi + 4]
push esi
call fcn.005133d4
mov ecx, edi
call fcn.00471a70
lea ecx, [esp + 0x14]
call fcn.005132d2
xor ebp, ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], ebp
call fcn.005132d2
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 1
call fcn.005132d2
push str.Source_Files
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 2
call fcn.005135fc
push str.c_cpp_cxx_s
lea ecx, [esp + 0x34]
call fcn.005135fc
push 0x2c
call fcn.00513446
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
cmp esi, ebp
mov byte [esp + 0x28], 3
je 0x46c339
mov ecx, esi
call fcn.00494e50
mov dword [esi], 0x57c7a4
mov dword [esi + 0x10], 2
mov dword [esi + 0x28], ebp
jmp 0x46c33b
xor esi, esi
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [esp + 0x2c], 2
call dword [edx + 8]
mov eax, dword [esp + 0x30]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x18]
push esi
mov ecx, edi
call fcn.004954a0
push str.Header_Files
lea ecx, [esp + 0x14]
call fcn.005135fc
push str.h_hpp_hxx_inl
lea ecx, [esp + 0x34]
call fcn.005135fc
push 0x2c
call fcn.00513446
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
cmp esi, ebp
mov byte [esp + 0x28], 4
je 0x46c3ae
mov ecx, esi
call fcn.00494e50
mov dword [esi], 0x57c7a4
mov dword [esi + 0x10], 2
mov dword [esi + 0x28], ebp
jmp 0x46c3b0
xor esi, esi
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [esp + 0x2c], 2
call dword [edx + 8]
mov eax, dword [esp + 0x30]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x18]
push esi
mov ecx, edi
call fcn.004954a0
cmp dword [esp + 0x34], ebp
jne 0x46c599
mov ecx, dword [ebx + 8]
lea esi, [edi + 0x3c]
lea edx, [ebx + 0xc]
mov dword [edi + 0x30], ecx
push edx
mov ecx, esi
call fcn.005133d4
lea eax, [ebx + 0x10]
lea ecx, [edi + 0x40]
push eax
call fcn.005133d4
mov eax, dword [edi + 0x30]
mov ecx, dword [ebx + 0x14]
mov edx, eax
mov dword [edi + 0x44], ecx
and edx, 0x200
neg edx
sbb edx, edx
and edx, 7
add edx, 4
test al, 2
mov dword [edi + 0x34], edx
je 0x46c45c
push str.avr2
mov ecx, esi
call fcn.005135fc
lea esi, [edi + 0x90]
mov ebp, 2
push str.___COMPILING_AVR_LIBC__
lea ecx, [esi - 0x34]
call fcn.005136a4
push 0x5b7914
mov ecx, esi
call fcn.005136a4
add esi, 0x98
dec ebp
jne 0x46c438
jmp 0x46c489
lea esi, [edi + 0xd8]
mov ebp, 2
push str..elf
lea ecx, [esi - 0x48]
call fcn.005136a4
push str..elf
mov ecx, esi
call fcn.005136a4
add esi, 0x98
dec ebp
jne 0x46c467
mov eax, dword [ebx + 0x18]
xor ebp, ebp
mov ecx, dword [eax + 8]
test ecx, ecx
jle 0x46c599
mov eax, dword [eax + 4]
lea ecx, [eax + ebp*4]
push ecx
lea ecx, [esp + 0x38]
call fcn.00513416
push 0x2c
mov byte [esp + 0x2c], 5
call fcn.00513446
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
test esi, esi
mov byte [esp + 0x28], 6
je 0x46c4e4
mov ecx, esi
call fcn.00494e50
mov dword [esi], 0x57c740
mov dword [esi + 0x10], 3
mov dword [esi + 0x28], 0
jmp 0x46c4e6
xor esi, esi
mov eax, dword [esp + 0x34]
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [esp + 0x2c], 5
call dword [edx + 0x10]
lea ecx, [esp + 0x30]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x18]
push edx
push eax
push ecx
call fcn.004fffe0
mov eax, dword [esp + 0x40]
mov edx, dword [esi]
add esp, 0x10
mov ecx, esi
push eax
call dword [edx + 0x18]
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx - 8]
test eax, eax
je 0x46c558
lea edx, [esp + 0x30]
lea eax, [esp + 0x18]
push edx
push 0x2e
push eax
call fcn.0051408e
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 7
call fcn.005134be
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 5
call fcn.005132cc
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 8]
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, edi
call fcn.00470570
test eax, eax
push esi
mov ecx, eax
jne 0x46c579
mov ecx, edi
call fcn.004954a0
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 2
call fcn.005132cc
mov eax, dword [ebx + 0x18]
inc ebp
cmp ebp, dword [eax + 8]
jl 0x46c499
mov ecx, edi
call fcn.00470680
lea ecx, [esp + 0x30]
mov esi, eax
mov byte [esp + 0x28], 1
call fcn.005132cc
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.005132cc
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.005132cc
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8