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

Disassembly:
mov eax, 0xe01fc
call fcn.0042e520
push ebx
push ebp
push esi
push edi
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x7d]
mov byte [esp + 0x7c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x145]
mov byte [esp + 0x144], 0
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
push str..._updatefile_B30_PicDrvWd_Mpc5643L.hex
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x80]
mov dword [esp + 0x14], 0
push eax
mov byte [esp + 0x24], 0
mov byte [esp + 0x25], 0x10
mov byte [esp + 0x26], 0
mov byte [esp + 0x27], 0
mov byte [esp + 0x28], 0
mov byte [esp + 0x29], 0
mov byte [esp + 0x2a], 0xc
mov byte [esp + 0x2b], 0
mov byte [esp + 0x2c], 0
mov byte [esp + 0x2d], 0
mov byte [esp + 0x2e], 0x40
mov byte [esp + 0x2f], 0
mov byte [esp + 0x30], 0
mov byte [esp + 0x31], 0xf
mov byte [esp + 0x32], 0xbb
mov byte [esp + 0x33], 0xf8
mov byte [esp + 0x34], 0x14
mov byte [esp + 0x35], 0x59
mov byte [esp + 0x36], 0x27
mov byte [esp + 0x37], 0xa8
mov byte [esp + 0x38], 0x1d
mov byte [esp + 0x39], 0xe8
mov byte [esp + 0x3a], 0x99
mov byte [esp + 0x3b], 0x82
mov byte [esp + 0x1c], 0xe5
mov byte [esp + 0x1d], 0xa5
mov byte [esp + 0x1e], 0x30
mov byte [esp + 0x1f], 0x8d
mov byte [esp + 0x20], 0xec
mov byte [esp + 0x21], 0x71
mov byte [esp + 0x22], 0x5f
mov byte [esp + 0x23], 0x86
call esi
lea ecx, [esp + 0x14c]
push str..._updatefile_B30_Wd_Firmware.hex
push ecx
call esi
lea edx, [esp + 0xf0]
push str..._updatefile_B30_FlashDrv_Mpc5643L.hex
push edx
call esi
lea eax, [esp + 0x1c0]
push str..._updatefile_B30_PA_XPC56XXL_CAC_Application_Can_SWE123.hex
push eax
call esi
add esp, 0x20
xor esi, esi
lea eax, [esi + esi*4]
push 0x431dcc
lea edi, [eax + eax*4]
shl edi, 2
lea ebx, [esp + edi + 0x80]
push ebx
call dword [0x472ec4]
add esp, 8
test eax, eax
je 0x411c6e
mov ebp, dword [sym.imp.MSVCRT.dll_fclose]
push eax
call ebp
lea edi, [esp + edi + 0x148]
push 0x431dcc
push edi
mov dword [esp + 0x84], edi
call dword [0x472ec4]
add esp, 0xc
test eax, eax
je 0x411c6e
push eax
call ebp
push 5
push 0x12180101
push 0x12130171
call dword [0x472f68]
add esp, 0x10
mov byte [0x472a2c], 0x28
call fcn.0042ab10
test eax, eax
jl 0x411cc3
push 0x18
mov byte [0x472a2c], 0x18
call fcn.00426a80
add esp, 4
call fcn.0040dad0
test eax, eax
jl 0x411c93
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x34]
mov dword [0x472d64], 0x12181201
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x34]
push ecx
push 0x12181201
call fcn.00402900
lea edx, [esp + 0x3c]
push edx
call fcn.00402980
add esp, 0xc
test eax, eax
jl 0x411c63
cmp eax, 0x7f000000
jg 0x411cf3
push 0x28
call fcn.00426a80
add esp, 4
mov ebp, 0x12fc1201
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x34]
mov dword [0x472d64], ebp
rep stosd dword es:[edi], eax
lea eax, [esp + 0x34]
push eax
push ebp
call fcn.00402900
lea ecx, [esp + 0x3c]
push ecx
call fcn.00402980
add esp, 0xc
test eax, eax
jl 0x411c63
cmp eax, 0x7f000000
jg 0x411cf3
inc ebp
lea edx, [ebp - 0x12fc1201]
cmp edx, 2
jl 0x411921
mov byte [0x472a2c], 0x18
call fcn.0042ac40
test eax, eax
jl 0x411cc3
call fcn.0040dad0
test eax, eax
jl 0x411cd1
push 6
call fcn.00419800
add esp, 4
cmp eax, 1
jne 0x411c63
mov ecx, 0x38000
xor eax, eax
lea edi, [esp + 0x20c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push eax
push 0x434b78
push ebx
call fcn.00424260
mov edx, dword [esp + 0x1c]
push 1
lea ecx, [esi + esi + 1]
push 4
push ecx
push eax
push 0x434b78
push edx
push 0xff8
lea eax, [esp + 0x234]
push ebx
push eax
call fcn.004245c0
add esp, 0x30
test eax, eax
jl 0x411c63
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x34], 1
push ecx
mov byte [esp + 0x39], 0x37
call fcn.00402980
add esp, 4
test eax, eax
jl 0x411c63
cmp eax, 0x7f000000
jg 0x411cf3
mov edx, dword [esp + esi*4 + 0x2c]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x34]
mov byte [esp + 0x34], 8
push eax
mov byte [esp + 0x39], 0x31
mov byte [esp + 0x3a], 1
mov byte [esp + 0x3b], 2
mov byte [esp + 0x3c], 2
mov dword [esp + 0x3d], edx
call fcn.00402980
add esp, 4
test eax, eax
jl 0x411c63
cmp eax, 0x7f000000
jg 0x411cf3
mov edx, dword [esp + esi*8 + 0x20]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + esi*8 + 0x1c]
mov byte [esp + 0x38], al
lea eax, [esp + 0x34]
mov byte [esp + 0x34], 0xd
push eax
mov byte [esp + 0x39], 0x31
mov byte [esp + 0x3a], 1
mov byte [esp + 0x3b], 0xff
mov byte [esp + 0x3d], 0x44
mov dword [esp + 0x3e], ecx
mov dword [esp + 0x42], edx
call fcn.00402980
add esp, 4
test eax, eax
jl 0x411c63
cmp eax, 0x7f000000
jg 0x411cf3
mov ecx, 0x38000
xor eax, eax
lea edi, [esp + 0x20c]
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x78]
push edx
test esi, esi
setne cl
push 0x434b78
push edi
mov byte [esp + 0x80], cl
call fcn.00424260
mov ecx, dword [esp + 0x80]
lea edx, [esi + esi + 2]
push ecx
push 4
push edx
push eax
mov eax, dword [esp + 0x2c]
push 0x434b78
push eax
push 0xff8
lea ecx, [esp + 0x234]
push edi
push ecx
call fcn.004245c0
add esp, 0x30
test eax, eax
jl 0x411c63
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x34]
lea edx, [esp + 0x34]
rep stosd dword es:[edi], eax
push edx
mov byte [esp + 0x38], 1
mov byte [esp + 0x39], 0x37
call fcn.00402980
add esp, 4
test eax, eax
jl 0x411c63
cmp eax, 0x7f000000
jg 0x411cf3
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
mov eax, dword [esp + esi*4 + 0x14]
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x38], 8
mov byte [esp + 0x39], 0x31
mov byte [esp + 0x3a], 1
mov byte [esp + 0x3b], 2
mov byte [esp + 0x3c], 2
mov dword [esp + 0x3d], eax
call fcn.00402980
add esp, 4
test eax, eax
jl 0x411c63
cmp eax, 0x7f000000
jg 0x411cf3
lea edx, [esp + 0x34]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x34]
push edx
push 0x12181202
rep stosd dword es:[edi], eax
mov dword [0x472d64], 0x12181202
call fcn.00402900
lea eax, [esp + 0x3c]
push eax
call fcn.00402980
add esp, 0xc
test eax, eax
jl 0x411c63
cmp eax, 0x7f000000
jg 0x411cf3
push 0x28
call fcn.00426a80
push 1
call fcn.00419c40
push 0
push 0
push 0
push 0
call dword [0x472d8c]
add esp, 0x18
test esi, esi
jne 0x411c3f
push 5
push 0x12180101
push 0x12130178
call dword [0x472f68]
push 5
call dword [0x473a50]
add esp, 0x10
inc esi
cmp esi, 2
jl 0x41182d
push 1
push 0x12180101
push 0x1213017e
call dword [0x472f68]
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe01fc
ret
push 1
push 0x12180103
push 0x12d00051
call dword [0x472f68]
add esp, 0xc
mov eax, 0xff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe01fc
ret
push 1
push 0x12180103
push 0x121300a6
call dword [0x472f68]
add esp, 0xc
mov byte [0x434b71], 0
mov byte [0x434b70], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe01fc
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0xe01fc
ret
push 1
push 0x12180103
push 0x121300a6
call dword [0x472f68]
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe01fc
ret
push eax
call fcn.0040eb00
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe01fc
ret