Function at 0x4034b0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5939dc
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x5fedec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push 0xff
push 0
push eax
call fcn.00570bf0
add esp, 0xc
lea eax, [ebp - 0x22c]
push 0
push eax
push 4
push str.ATI_r
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0xff
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00570bf0
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x22c]
add esp, 0xc
push 0
push eax
push 0xff
lea eax, [ebp - 0x210]
push eax
push dword [esi]
call ebx
cmp byte [ebp - 0x210], 0
mov dword [ebp - 0x214], 0xf
mov dword [ebp - 0x218], 0
mov byte [ebp - 0x228], 0
jne 0x40356c
xor ecx, ecx
jmp 0x40357e
lea ecx, [ebp - 0x210]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403575
sub ecx, edx
push ecx
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x228]
call fcn.00406e30
lea edi, [esi + 0x9c]
lea eax, [ebp - 0x228]
cmp edi, eax
je 0x4035df
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x4035b4
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.00437b40
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x4035cc
mov eax, dword [edi]
jmp 0x4035ce
mov eax, edi
mov byte [eax], 0
mov ecx, edi
lea eax, [ebp - 0x228]
push eax
call fcn.004065b0
mov eax, dword [ebp - 0x214]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x403604
inc eax
lea ecx, [ebp - 0x228]
push eax
push dword [ebp - 0x228]
call fcn.00437b40
push 0xff
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00570bf0
add esp, 0xc
lea eax, [ebp - 0x22c]
push 0
push eax
push 0xff
lea eax, [ebp - 0x210]
push eax
push dword [esi]
call ebx
lea edi, [esi + 0x80]
mov dword [esi + 0x98], 0
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x403654
mov eax, dword [edi]
jmp 0x403656
mov eax, edi
push 0xff
mov byte [eax], 0
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00570bf0
add esp, 0xc
lea eax, [ebp - 0x22c]
push 0
push eax
push 8
push str.ATCGMI_r
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0xff
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00570bf0
add esp, 0xc
lea eax, [ebp - 0x22c]
push 0
push eax
push 0xff
lea eax, [ebp - 0x110]
push eax
push dword [esi]
call ebx
lea eax, [ebp - 0x110]
push str.HUAWEI_TECHNOLOGIES_CO.__LTD
push eax
call fcn.0056ffc0
add esp, 8
test eax, eax
jne 0x4036ea
lea eax, [ebp - 0x110]
push str.HUAWEI
push eax
call fcn.0056ffc0
add esp, 8
test eax, eax
je 0x4037cf
push 0
lea eax, [ebp - 0x22c]
push eax
push 8
push str.ATCGMM_r
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0xff
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00570bf0
add esp, 0xc
lea eax, [ebp - 0x22c]
push 0
push eax
push 0xff
lea eax, [ebp - 0x110]
push eax
push dword [esi]
call ebx
lea eax, [ebp - 0x110]
push 0x5a6fd0
push eax
call fcn.0056ffc0
add esp, 8
test eax, eax
je 0x403780
lea eax, [ebp - 0x110]
push str.MG301
push eax
call fcn.0056ffc0
add esp, 8
test eax, eax
je 0x403780
push 0xb
push str.HuaWeiMG301
mov ecx, edi
call fcn.00406e30
mov dword [esi + 0x98], 1
mov al, 1
jmp 0x403e17
lea eax, [ebp - 0x110]
push 0x5a6fd0
push eax
call fcn.0056ffc0
add esp, 8
test eax, eax
je 0x4037cf
lea eax, [ebp - 0x110]
push str.MC323
push eax
call fcn.0056ffc0
add esp, 8
test eax, eax
je 0x4037cf
push 0xb
push str.HuaWeiMC323
mov ecx, edi
call fcn.00406e30
mov dword [esi + 0x98], 3
mov al, 1
jmp 0x403e17
lea eax, [ebp - 0x110]
push str.Huawei
push eax
call fcn.0056ffc0
add esp, 8
test eax, eax
je 0x4038cc
push 0
lea eax, [ebp - 0x22c]
push eax
push 8
push str.ATCGMM_r
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0xff
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00570bf0
add esp, 0xc
lea eax, [ebp - 0x22c]
push 0
push eax
push 0xff
lea eax, [ebp - 0x110]
push eax
push dword [esi]
call ebx
lea eax, [ebp - 0x110]
push 0x5a6fd0
push eax
call fcn.0056ffc0
add esp, 8
test eax, eax
je 0x40387f
lea eax, [ebp - 0x110]
push str.ME909s_821
push eax
call fcn.0056ffc0
add esp, 8
test eax, eax
je 0x40387f
push str.HuaWeiME909s
mov ecx, edi
call fcn.00402a60
mov dword [esi + 0x98], 6
mov al, 1
jmp 0x403e17
lea eax, [ebp - 0x110]
push 0x5a6fd0
push eax
call fcn.0056ffc0
add esp, 8
test eax, eax
je 0x4038cc
lea eax, [ebp - 0x110]
push str.MH5000
push eax
call fcn.0056ffc0
add esp, 8
test eax, eax
je 0x4038cc
push str.HuaWeiMH5000
mov ecx, edi
call fcn.00402a60
mov dword [esi + 0x98], 8
mov al, 1
jmp 0x403e17
lea eax, [ebp - 0x110]
push str.Yuga
push eax
call fcn.0056ffc0
add esp, 8
test eax, eax
je 0x403a16
push 0
lea eax, [ebp - 0x22c]
push eax
push 8
push str.ATCGMM_r
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0xff
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00570bf0
add esp, 0xc
lea eax, [ebp - 0x22c]
push 0
push eax
push 0xff
lea eax, [ebp - 0x110]
push eax
push dword [esi]
call ebx
lea eax, [ebp - 0x110]
push 0x5a6fd0
push eax
call fcn.0056ffc0
add esp, 8
test eax, eax
je 0x40397c
lea eax, [ebp - 0x110]
push str.CLM920_NC5
push eax
call fcn.0056ffc0
add esp, 8
test eax, eax
je 0x40397c
push str.CLM920_NC5
mov ecx, edi
call fcn.00402a60
mov dword [esi + 0x98], 7
mov al, 1
jmp 0x403e17
lea eax, [ebp - 0x110]
push 0x5a6fd0
push eax
call fcn.0056ffc0
add esp, 8
test eax, eax
je 0x4039c9
lea eax, [ebp - 0x110]
push str.CLM920_RC3
push eax
call fcn.0056ffc0
add esp, 8
test eax, eax
je 0x4039c9
push str.CLM920_RC3
mov ecx, edi
call fcn.00402a60
mov dword [esi + 0x98], 9
mov al, 1
jmp 0x403e17
lea eax, [ebp - 0x110]
push 0x5a6fd0
push eax
call fcn.0056ffc0
add esp, 8
test eax, eax
je 0x403a16
lea eax, [ebp - 0x110]
push str.CLM920_RV3
push eax
call fcn.0056ffc0
add esp, 8
test eax, eax
je 0x403a16
push str.CLM920_RV3
mov ecx, edi
call fcn.00402a60
mov dword [esi + 0x98], 0xa
mov al, 1
jmp 0x403e17
lea eax, [ebp - 0x110]
push str.TD_Tech
push eax
call fcn.0056ffc0
add esp, 8
test eax, eax
je 0x403b60
push 0
lea eax, [ebp - 0x22c]
push eax
push 8
push str.ATCGMM_r
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0xff
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00570bf0
add esp, 0xc
lea eax, [ebp - 0x22c]
push 0
push eax
push 0xff
lea eax, [ebp - 0x110]
push eax
push dword [esi]
call ebx
lea eax, [ebp - 0x110]
push 0x5a6fd0
push eax
call fcn.0056ffc0
add esp, 8
test eax, eax
je 0x403ac6
lea eax, [ebp - 0x110]
push str.ME909
push eax
call fcn.0056ffc0
add esp, 8
test eax, eax
je 0x403ac6
push str.TD_ME909
mov ecx, edi
call fcn.00402a60
mov dword [esi + 0x98], 0xb
mov al, 1
jmp 0x403e17
lea eax, [ebp - 0x110]
push 0x5a6fd0
push eax
call fcn.0056ffc0
add esp, 8
test eax, eax
je 0x403b13
lea eax, [ebp - 0x110]
push str.ME901
push eax
call fcn.0056ffc0
add esp, 8
test eax, eax
je 0x403b13
push str.TD_ME901
mov ecx, edi
call fcn.00402a60
mov dword [esi + 0x98], 0xc
mov al, 1
jmp 0x403e17
lea eax, [ebp - 0x110]
push 0x5a6fd0
push eax
call fcn.0056ffc0
add esp, 8
test eax, eax
je 0x403b60
lea eax, [ebp - 0x110]
push str.MH5000
push eax
call fcn.0056ffc0
add esp, 8
test eax, eax
je 0x403b60
push str.TD_MH5000
mov ecx, edi
call fcn.00402a60
mov dword [esi + 0x98], 0xe
mov al, 1
jmp 0x403e17
lea eax, [ebp - 0x110]
push str.INCORPORATED
push eax
call fcn.0056ffc0
add esp, 8
test eax, eax
je 0x403c40
push 0
lea eax, [ebp - 0x22c]
push eax
push 8
push str.ATCGMM_r
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0xff
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00570bf0
add esp, 0xc
lea eax, [ebp - 0x22c]
push 0
push eax
push 0xff
lea eax, [ebp - 0x110]
push eax
push dword [esi]
call ebx
lea eax, [ebp - 0x110]
push 0x5a6fd0
push eax
call fcn.0056ffc0
add esp, 8
test eax, eax
je 0x403c10
lea eax, [ebp - 0x110]
push str.A7600C1_SE
push eax
call fcn.0056ffc0
add esp, 8
test eax, eax
je 0x403c10
push str.INCORPORATED_A7600C1_SE
mov ecx, edi
call fcn.00402a60
mov dword [esi + 0x98], 0xd
mov al, 1
jmp 0x403e17
lea eax, [ebp - 0x110]
push 0x5a6fd0
push eax
call fcn.0056ffc0
add esp, 8
test eax, eax
je 0x403c40
lea eax, [ebp - 0x110]
push str.SIMCOM_SIM7600CE_L
push eax
call fcn.0056ffc0
add esp, 8
test eax, eax
jne 0x403bf3
push 0
lea eax, [ebp - 0x22c]
push eax
push 5
push str.ATI3_r
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0xff
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00570bf0
add esp, 0xc
lea eax, [ebp - 0x22c]
push 0
push eax
push 0xff
lea eax, [ebp - 0x110]
push eax
push dword [esi]
call ebx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x230]
call fcn.00402190
mov eax, dword [ebp - 0x230]
mov dword [ebp - 4], 1
cmp dword [eax - 0xc], 0
jl 0x403d95
push str.WISMOQ
push eax
call fcn.00573520
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x230]
test ecx, ecx
je 0x403cee
sub ecx, eax
cmp ecx, 0xffffffff
je 0x403cee
push str.WISMOQ
mov ecx, edi
call fcn.00402a60
mov dword [esi + 0x98], 4
mov bl, 1
jmp 0x403df0
cmp dword [eax - 0xc], 0
jl 0x403d95
push str.Q2406B
push eax
call fcn.00573520
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x230]
test ecx, ecx
je 0x403d36
sub ecx, eax
cmp ecx, 0xffffffff
je 0x403d36
push str.Q2406B
mov ecx, edi
call fcn.00402a60
mov dword [esi + 0x98], 5
mov bl, 1
jmp 0x403df0
cmp dword [eax - 0xc], 0
jl 0x403d95
push 0x5a715c
push eax
call fcn.00573520
add esp, 8
test eax, eax
je 0x403d95
sub eax, dword [ebp - 0x230]
cmp eax, 0xffffffff
je 0x403d95
push 5
inc eax
lea ecx, [ebp - 0x230]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.004058d0
push dword [eax]
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00402a60
lea ecx, [ebp - 0x22c]
call fcn.004027b0
mov dword [esi + 0x98], 0xffffffff
mov bl, 1
jmp 0x403df0
push 0
lea eax, [ebp - 0x234]
push eax
push 4
push str.ATI_r
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0xff
lea eax, [ebp - 0x110]
push eax
push dword [esi]
call fcn.00407780
lea eax, [ebp - 0x110]
push str.SIEMENS
push eax
call fcn.0056ffc0
add esp, 0x14
test eax, eax
je 0x403de6
mov dword [esi + 0x98], 2
mov bl, 1
jmp 0x403df0
cmp dword [esi + 0x98], 0
sete bl
mov esi, dword [ebp - 0x230]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x403e15
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056b237
mov esp, ebp
pop ebp
ret