Function at 0x10003870
Capabilities:
Contain obfuscated stackstrings
Read file on windows

Disassembly:
sub esp, 0xe4
push esi
push 0x1000a2c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [esp + 0xec]
push esi
push 0x1000a404
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
push 0x1000a2c0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [esp + 0x58]
mov word [esp + 0x58], 0x72
push eax
push esi
mov word [esp + 0x62], 0x62
mov word [esp + 0x64], 0
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0x54], esi
jne 0x100038d9
pop esi
add esp, 0xe4
ret
push ebx
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_fseek]
push edi
push 0
push 0x30
push esi
call ebp
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 0xc
lea ecx, [esp + 0xfc]
push 1
push ecx
call ebx
lea edx, [esp + 0x100]
lea eax, [esp + 0xf0]
push edx
lea ecx, [esp + 0x108]
push eax
push ecx
call fcn.10003e30
lea edi, [esp + 0xfc]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x28
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x10003af3
push 0xb
push 0x1000a3ec
lea edx, [esp + 0xdc]
push 0xffffffffffffffff
push edx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
lea eax, [esp + 0xd8]
push 0x1000a2ec
push eax
call fcn.10003e90
push 2
lea ecx, [esp + 0xe4]
push 0x1000a36c
push ecx
call fcn.10003e90
push 0
push 0x1c
push esi
mov dword [0x1000a2e8], 0x1000a3ec
mov dword [0x1000a2e0], 0x1000a2ec
call ebp
push esi
push 4
lea edx, [esp + 0x10c]
push 1
push edx
call ebx
push 0
push 0x28
push esi
call ebp
add esp, 0x40
lea eax, [esp + 0xd0]
push esi
push 4
push 1
push eax
call ebx
mov eax, dword [esp + 0xe0]
add esp, 0x10
test eax, eax
jne 0x100039d6
mov dword [0x1000a2e4], 0x1000a36c
jmp 0x10003e0f
mov ecx, 0x41
mov eax, 0x38
mov ebp, 0x32
mov word [esp + 0x1c], cx
mov word [esp + 0x1e], cx
mov esi, 0x2d
mov word [esp + 0x26], cx
mov word [esp + 0x46], cx
lea ecx, [esp + 0x10]
mov word [esp + 0x12], ax
mov word [esp + 0x16], bp
mov word [esp + 0x18], ax
mov word [esp + 0x1a], ax
mov word [esp + 0x22], si
mov word [esp + 0x2a], bp
mov word [esp + 0x2c], si
mov word [esp + 0x34], bp
mov word [esp + 0x36], si
mov word [esp + 0x38], ax
mov word [esp + 0x40], si
mov ebx, 0x34
mov edi, 0x44
mov edx, 0x46
mov ebp, 0x35
mov esi, 0x33
mov eax, 0x31
push ecx
push 0x1000a36c
mov word [esp + 0x18], 0x7b
mov word [esp + 0x1c], bx
mov word [esp + 0x28], di
mov word [esp + 0x2c], 0x42
mov word [esp + 0x30], 0x30
mov word [esp + 0x36], bx
mov word [esp + 0x38], 0x45
mov word [esp + 0x3a], dx
mov word [esp + 0x42], bp
mov word [esp + 0x44], 0x45
mov word [esp + 0x46], 0x43
mov word [esp + 0x4a], si
mov word [esp + 0x4c], dx
mov word [esp + 0x50], di
mov word [esp + 0x52], bx
mov word [esp + 0x54], di
mov word [esp + 0x56], ax
mov word [esp + 0x58], ax
mov word [esp + 0x5a], si
mov word [esp + 0x5c], bp
mov word [esp + 0x5e], bx
mov word [esp + 0x60], di
mov word [esp + 0x62], 0x7d
mov word [esp + 0x64], 0
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
jmp 0x10003e01
lea edx, [esp + 0x6c]
mov ecx, 0x64
mov eax, 0x6d
push edx
push 0x1000a3ec
mov word [esp + 0x74], cx
mov word [esp + 0x76], ax
mov word [esp + 0x78], 0x2e
mov word [esp + 0x7a], cx
mov word [esp + 0x7c], ax
mov word [esp + 0x7e], 0x73
mov word [esp + 0x80], 0x6f
mov word [esp + 0x82], 0x66
mov word [esp + 0x84], 0x74
mov word [esp + 0x86], 0
call dword [sym.imp.MSVCRT.dll_wcscpy]
mov eax, 0x30
mov ebp, 0x32
mov word [esp + 0x1e], ax
mov word [esp + 0x26], ax
mov eax, 0x46
mov edx, 0x36
mov word [esp + 0x38], ax
mov word [esp + 0x3a], ax
mov word [esp + 0x3c], ax
mov word [esp + 0x4e], ax
mov eax, 0x30
mov ecx, 0x37
mov word [esp + 0x54], ax
mov word [esp + 0x5a], ax
lea eax, [esp + 0x18]
mov esi, 0x2d
mov edi, 0x44
mov ebx, 0x34
push eax
push 0x1000a2ec
mov word [esp + 0x20], 0x7b
mov word [esp + 0x22], bp
mov word [esp + 0x24], dx
mov word [esp + 0x28], 0x33
mov word [esp + 0x2a], cx
mov word [esp + 0x2c], 0x41
mov word [esp + 0x30], 0x45
mov word [esp + 0x32], si
mov word [esp + 0x34], cx
mov word [esp + 0x36], 0x43
mov word [esp + 0x38], 0x42
mov word [esp + 0x3a], di
mov word [esp + 0x3c], si
mov word [esp + 0x3e], bx
mov word [esp + 0x46], si
mov word [esp + 0x48], 0x39
mov word [esp + 0x4a], 0x43
mov word [esp + 0x4c], dx
mov word [esp + 0x4e], 0x33
mov word [esp + 0x50], si
mov word [esp + 0x52], 0x35
mov word [esp + 0x54], dx
mov word [esp + 0x58], bp
mov word [esp + 0x5a], di
mov word [esp + 0x5e], cx
mov word [esp + 0x60], cx
mov word [esp + 0x64], bp
mov word [esp + 0x66], 0x31
mov word [esp + 0x68], bx
mov word [esp + 0x6a], 0x7d
mov word [esp + 0x6c], 0
call dword [sym.imp.MSVCRT.dll_wcscpy]
mov eax, 0x38
mov ecx, 0x41
mov word [esp + 0x90], 0x7b
mov word [esp + 0x92], ax
mov word [esp + 0x94], bx
mov word [esp + 0x96], bp
mov word [esp + 0x98], ax
mov word [esp + 0x9a], ax
mov word [esp + 0x9c], cx
mov word [esp + 0x9e], cx
mov word [esp + 0xa0], di
mov word [esp + 0xa2], si
mov word [esp + 0xa4], 0x42
mov word [esp + 0xa6], cx
mov word [esp + 0xc6], cx
lea ecx, [esp + 0x90]
mov word [esp + 0xaa], bp
mov word [esp + 0xac], si
mov word [esp + 0xb4], bp
mov word [esp + 0xb6], si
mov word [esp + 0xb8], ax
mov word [esp + 0xc0], si
mov edx, 0x46
mov ebp, 0x35
mov esi, 0x33
mov eax, 0x31
push ecx
push 0x1000a36c
mov word [esp + 0xb0], 0x30
mov word [esp + 0xb6], bx
mov word [esp + 0xb8], 0x45
mov word [esp + 0xba], dx
mov word [esp + 0xc2], bp
mov word [esp + 0xc4], 0x45
mov word [esp + 0xc6], 0x43
mov word [esp + 0xca], si
mov word [esp + 0xcc], dx
mov word [esp + 0xd0], di
mov word [esp + 0xd2], bx
mov word [esp + 0xd4], di
mov word [esp + 0xd6], ax
mov word [esp + 0xd8], ax
mov word [esp + 0xda], si
mov word [esp + 0xdc], bp
mov word [esp + 0xde], bx
mov word [esp + 0xe0], di
mov word [esp + 0xe2], 0x7d
mov word [esp + 0xe4], 0
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 0x18
mov dword [0x1000a2e8], 0x1000a3ec
mov dword [0x1000a2e0], 0x1000a2ec
mov esi, dword [esp + 0x60]
mov dword [0x1000a2e4], 0x1000a36c
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, 1
pop edi
pop ebp
pop ebx
pop esi
add esp, 0xe4
ret