Function at 0x41f120
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x559e47
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push esi
push edi
mov edi, ecx
xor esi, esi
lea ecx, [esp + 8]
mov dword [esp + 0x10], esi
call fcn.005132d2
push str._Generate_r_n
lea ecx, [esp + 0xc]
mov dword [esp + 0x70], 1
call fcn.005136a4
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x30]
test al, 2
jne 0x41f333
push str.__TARGET_.hex_:___OUTFILE__r_n
lea ecx, [esp + 0xc]
call fcn.005136a4
push str._t__OBJCOPY___O___FORMAT___R_.eeprom
lea ecx, [esp + 0xc]
call fcn.005136a4
mov eax, dword [edi + 4]
cmp dword [eax + 0x198], esi
jle 0x41f1e4
mov ecx, dword [eax + 0x194]
lea eax, [ecx + esi*8]
mov ecx, dword [ecx + esi*8 + 4]
test ecx, 0x800000
je 0x41f1d8
push eax
lea edx, [esp + 0x10]
push str.__R
push edx
call fcn.00513932
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x70], 2
call fcn.005134be
lea ecx, [esp + 0xc]
mov byte [esp + 0x6c], 1
call fcn.005132cc
mov eax, dword [edi + 4]
inc esi
cmp esi, dword [eax + 0x198]
jl 0x41f196
push str._______r_n_r_n
lea ecx, [esp + 0xc]
call fcn.005136a4
push str.__TARGET_.eep_:___OUTFILE__r_n
lea ecx, [esp + 0xc]
call fcn.005136a4
lea ecx, [esp + 0x14]
call fcn.004e1f40
mov eax, dword [edi + 8]
mov byte [esp + 0x6c], 3
mov ecx, dword [eax + 0x40]
push ecx
lea ecx, [esp + 0x18]
call fcn.004de430
test eax, eax
je 0x41f234
push 0x10000
lea ecx, [esp + 0x18]
call fcn.004dd9d0
test eax, eax
je 0x41f2b3
push str._t__OBJCOPY___j_.eeprom___change_section_lma_.eeprom0
lea ecx, [esp + 0xc]
call fcn.005136a4
mov eax, dword [edi + 4]
xor esi, esi
mov ecx, dword [eax + 0x198]
test ecx, ecx
jle 0x41f2a5
mov edx, dword [eax + 0x194]
mov ecx, dword [edx + esi*8 + 4]
lea eax, [edx + esi*8]
and ecx, 0x810000
cmp ecx, 0x810000
jne 0x41f299
push eax
lea edx, [esp + 0x10]
push str.__j
push edx
call fcn.00513932
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x70], 4
call fcn.005134be
lea ecx, [esp + 0xc]
mov byte [esp + 0x6c], 3
call fcn.005132cc
mov eax, dword [edi + 4]
inc esi
cmp esi, dword [eax + 0x198]
jl 0x41f251
push str.__O___FORMAT________r_n
lea ecx, [esp + 0xc]
call fcn.005136a4
push 0x5b2e68
lea ecx, [esp + 0xc]
call fcn.005136a4
push str.__TARGET_.lss_:___OUTFILE__r_n
lea ecx, [esp + 0xc]
call fcn.005136a4
push str._t__OBJDUMP___S_________r_n_r_n
lea ecx, [esp + 0xc]
call fcn.005136a4
push str.COFFCONVERT____OBJCOPY____debugging__r_n________________change_section_address_.data_0x800000__r_n________________change_section_address_.bss_0x800000__r_n________________change_section_address_.noinit_0x800000__r_n________________change_section_address_.eeprom_0x810000_r_n_r_n
lea ecx, [esp + 0xc]
call fcn.005136a4
push str.coff_:___OUTFILE__r_n
lea ecx, [esp + 0xc]
call fcn.005136a4
push str._t__COFFCONVERT___O_coff_avr______TARGET_.cof_r_n_r_n
lea ecx, [esp + 0xc]
call fcn.005136a4
push str.extcoff_:___OUTFILE__r_n
lea ecx, [esp + 0xc]
call fcn.005136a4
push str._t__COFFCONVERT___O_coff_ext_avr______TARGET_.cof_r_n
lea ecx, [esp + 0xc]
call fcn.005136a4
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 1
call fcn.004e1f80
jmp 0x41f34f
push str.__OUTFILE__:___TARGET_.ta_r_n
lea ecx, [esp + 0xc]
call fcn.005136a4
push str._t__ST____LIBDBG____TARGET_.ta__o___OUTFILE__r_n
lea ecx, [esp + 0xc]
call fcn.005136a4
mov esi, dword [esp + 0x74]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.00513416
mov dword [esp + 0x10], 1
lea ecx, [esp + 8]
mov byte [esp + 0x6c], 0
call fcn.005132cc
mov ecx, dword [esp + 0x64]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x68
ret 4