Function at 0x42f7c0
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x454
mov eax, dword [0x4f8028]
xor eax, esp
mov dword [esp + 0x44c], eax
mov eax, dword [esp + 0x45c]
push ebx
push ebp
mov ebp, dword [esp + 0x460]
push esi
movzx esi, word [esp + 0x46c]
mov dword [esp + 0x30], esi
push edi
shl esi, 9
push esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
call sub.MFC80U.DLL_Ordinal_265
add esp, 4
push esi
mov ebx, eax
push 0
push ebx
call sub.ntdll.dll_memset
xor eax, eax
add esp, 0xc
lea edx, [esp + 0x18]
push edx
mov word [esp + 0x1c], 0
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
mov word [esp + 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, 0x80
mov esi, 0x4f9e90
lea edi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
mov cx, word [ebp + 0xa6]
mov esi, dword [esp + 0x24]
mov word [esp + 0x52], cx
mov ecx, dword [esp + 0x474]
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x54], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x1a]
add esi, ecx
imul esi, esi, 0x64
add esi, dword [esp + 0x26]
movzx eax, word [ebp + 0xa8]
add esi, dword [esp + 0x1e]
mov dl, byte [ebp + 0xa4]
movzx ecx, si
mov esi, dword [esp + 0x20]
imul esi, esi, 0x64
add esi, dword [esp + 0x22]
mov word [esp + 0x50], ax
add esi, dword [esp + 0x18]
mov ax, word [esp + 0x470]
movzx esi, si
shl esi, 0x10
mov word [esp + 0x46], ax
xor eax, eax
mov byte [esp + 0x45], dl
mov edx, 2
or ecx, esi
mov byte [esp + 0x48], dl
mov word [esp + 0x49], ax
mov word [esp + 0x4b], ax
mov dword [esp + 0x64], edx
mov byte [esp + 0x4d], pe_nt_image_headers32
mov word [esp + 0x4e], ax
mov word [esp + 0x60], ax
mov word [esp + 0x62], ax
mov word [esp + 0x68], 1
mov word [esp + 0x6a], 6
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov byte [esp + 0x78], 0x80
mov byte [esp + 0x79], al
mov byte [esp + 0x7a], 0x29
mov dword [esp + 0x7b], ecx
lea esi, [ebp + 0x20]
mov ecx, esi
lea edi, [ecx + 2]
mov dword [esp + 0x14], edi
mov di, word [ecx]
add ecx, edx
cmp di, ax
jne 0x42f925
sub ecx, dword [esp + 0x14]
sar ecx, 1
je 0x42f9b0
push eax
push eax
push 0x20
lea edx, [esp + 0x448]
push edx
push 0xffffffffffffffff
push esi
push eax
push eax
mov byte [esp + 0x45c], al
mov dword [esp + 0x45d], eax
mov dword [esp + 0x461], eax
mov dword [esp + 0x465], eax
mov dword [esp + 0x469], eax
mov dword [esp + 0x46d], eax
mov dword [esp + 0x471], eax
mov dword [esp + 0x475], eax
mov word [esp + 0x479], ax
mov byte [esp + 0x47b], al
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0xb
lea eax, [esp + 0x440]
push eax
lea ecx, [esp + 0x87]
push ecx
call dword [sym.imp.ntdll.dll_strncpy]
add esp, 0xc
mov dword [esp + 0x8a], 0x33544146
mov dword [esp + 0x8e], 0x20202032
push 0x200
mov ecx, 0x80
lea esi, [esp + 0x3c]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x3c]
push 0
lea edi, [ebx + 0xc00]
mov ecx, 0x80
lea esi, [esp + 0x40]
push edx
rep movsd dword es:[edi], dword [esi]
call sub.ntdll.dll_memset
add esp, 0xc
push 0x200
lea eax, [esp + 0x23c]
push 0
push eax
call sub.ntdll.dll_memset
mov ecx, dword [esp + 0x484]
mov edx, dword [esp + 0x48c]
add ecx, 0xffffffff
mov dword [esp + 0x22c], ecx
mov eax, 0xaa550000
mov dword [esp + 0x240], eax
mov dword [esp + 0x230], edx
mov dword [esp + 0x440], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], 0x41615252
mov dword [esp + 0x228], 0x61417272
lea edi, [ebx + 0x200]
mov ecx, 0x80
lea esi, [esp + 0x44]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x400]
mov ecx, 0x80
lea esi, [esp + 0x244]
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
lea edi, [ebx + 0xe00]
mov ecx, 0x80
lea esi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
cdq
push edx
lea edi, [ebx + 0x1000]
mov ecx, 0x80
lea esi, [esp + 0x23c]
rep movsd dword es:[edi], dword [esi]
push eax
lea edi, [ebx + 0x1800]
mov ecx, 0x80
mov esi, 0x4fa090
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edi, dword [esp + 0x38]
push eax
push ecx
push ebx
call fcn.0042e990
add esp, 0x14
push ebx
mov esi, eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
test esi, esi
jne 0x42fb4a
test byte [0x503544], 1
jne 0x42fb0c
or dword [0x503544], 1
push 0x4732e0
mov dword [0x503520], 0x4e7bc8
mov dword [0x503524], 0xffffffff
call fcn.0046d920
add esp, 4
mov esi, dword [0x503520]
push 0x229
mov ecx, str.._fatfmt.cpp
add esi, 8
call fcn.0042e770
mov edx, dword [esi]
add esp, 4
push eax
push str._s:_Failed_to_write_the_reserved_sector_of_FAT32.
push 0x503520
call edx
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
add esp, 0xc
push 0x69
call edx
xor eax, eax
jmp 0x42fb4f
mov eax, 1
mov ecx, dword [esp + 0x45c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046d6fd
add esp, 0x454
ret 0x20