Function at 0x471a70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x56257d
push eax
mov eax, 0x1b78
mov dword fs:[0], esp
call fcn.005143f0
push ebx
push ebp
mov ebp, ecx
push esi
push edi
xor ebx, ebx
push str.ATmega8
lea ecx, [ebp + 0x3c]
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x30], 0x101
call fcn.005135fc
push str.8.0000_MHz
lea ecx, [ebp + 0x40]
call fcn.005135fc
push 0x5c57b8
lea ecx, [ebp + 0x4c]
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x34], 4
mov dword [ebp + 0x48], ebx
call fcn.005135fc
mov eax, 1
mov dword [ebp + 0x180], ebx
mov dword [ebp + 0x184], ebx
mov dword [ebp + 0x188], eax
mov dword [ebp + 0x1a4], ebx
mov dword [ebp + 0x1b4], eax
mov dword [esp + 0x10], ebx
lea esi, [ebp + 0x54]
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp ecx, ebx
sete al
mov edi, eax
mov eax, 0x5b43ac
cmp edi, ebx
mov dword [esp + 0x14], edi
jne 0x471b1e
mov eax, 0x5b43a4
mov ecx, dword [ebp + 4]
push eax
push ecx
lea edx, [esi - 4]
push str._s____s
push edx
call fcn.005134dc
add esp, 0x10
cmp edi, ebx
mov edi, str.Debug
jne 0x471b42
mov edi, str.Release
mov eax, dword [ebp]
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebp
call dword [eax + 0x24]
push edi
lea edx, [esp + 0x24]
push eax
push edx
mov dword [esp + 0x1b9c], ebx
call fcn.005133c2
push eax
mov ecx, esi
mov byte [esp + 0x1b94], 1
call fcn.005133d4
lea ecx, [esp + 0x20]
mov byte [esp + 0x1b90], bl
call fcn.005132cc
lea ecx, [esp + 0x24]
mov dword [esp + 0x1b90], 0xffffffff
call fcn.005132cc
lea edi, [esi + 4]
push esi
mov ecx, edi
call fcn.005133d4
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov eax, str._DEBUG
jne 0x471bb3
mov eax, str.NDEBUG
push eax
lea ecx, [esi + 8]
call fcn.005135fc
push 0x5c57b8
lea ecx, [esi + 0xc]
call fcn.005135fc
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, ebx
push 0x5c57b8
setne al
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
lea ecx, [esi + 0x20]
mov dword [esi + 0x1c], 1
call fcn.005135fc
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
push 0x5c57b8
lea ecx, [esi + 0x34]
mov dword [esi + 0x30], ebx
call fcn.005135fc
push 0x5b22a4
lea ecx, [esp + 0x20]
push edi
push ecx
mov dword [esi + 0x38], ebx
call fcn.005133c2
lea ecx, [ebp + 4]
lea edx, [esp + 0x18]
push ecx
push eax
push edx
mov dword [esp + 0x1b9c], 2
call fcn.0051393e
lea edi, [esi + 0x3c]
push eax
mov ecx, edi
mov byte [esp + 0x1b94], 3
call fcn.005133d4
lea ecx, [esp + 0x18]
mov byte [esp + 0x1b90], 2
call fcn.005132cc
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1b90], 0xffffffff
call fcn.005132cc
push 0x5c57b8
lea ecx, [esi + 0x40]
call fcn.005135fc
mov eax, 1
push 0x5c57b8
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], ebx
lea ecx, [esi + 0x68]
mov dword [esi + 0x64], ebx
call fcn.005135fc
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
push edi
lea ecx, [esi + 0x84]
mov dword [esi + 0x80], ebx
call fcn.005133d4
mov eax, dword [esp + 0x10]
mov dword [esi + 0x8c], ebx
inc eax
mov dword [esi + 0x88], ebx
mov dword [esi + 0x90], 1
mov dword [esp + 0x10], eax
add esi, 0x98
cmp eax, 2
jl 0x471aff
lea edi, [ebp + 0x1b8]
mov ecx, 0x28
xor eax, eax
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xb50]
mov dword [ebp + 0x258], ebx
mov dword [ebp + 0x25c], ebx
call fcn.00438c00
lea ecx, [esp + 0xb50]
mov dword [esp + 0x1b90], 4
call fcn.00439030
lea eax, [ebp + 0x270]
lea ecx, [esp + 0xb50]
push eax
call fcn.00439af0
lea ecx, [esp + 0x578]
call fcn.0043aac0
mov bl, 5
lea ecx, [esp + 0x578]
mov byte [esp + 0x1b90], bl
call fcn.0043adb0
lea ecx, [ebp + 0x294]
push ecx
lea ecx, [esp + 0x57c]
call fcn.0043ae20
lea ecx, [esp + 0x28]
call fcn.00437cb0
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b90], 6
call fcn.004380f0
add ebp, 0x30c
lea ecx, [esp + 0x28]
push ebp
call fcn.00438170
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b90], bl
call fcn.00437d40
lea ecx, [esp + 0x578]
mov byte [esp + 0x1b90], 4
call fcn.0043ab20
lea ecx, [esp + 0xb50]
mov dword [esp + 0x1b90], 0xffffffff
call fcn.00438c90
mov ecx, dword [esp + 0x1b88]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1b84
ret