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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
push ebx
push esi
push 0x1000a2c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dh, dh
mov esi, dword [ebp + 8]
mov ebx, dword [sym.imp.MSVCRT.dll_wcscpy]
push esi
push 0x1000a404
call ebx
add esp, 8
mov bh, bh
push 0x1000a2c0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
mov word [ebp - 0xc], 0x72
mov word [ebp - 0xa], 0x62
mov word [ebp - 8], 0
mov ebx, ebx
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
add esp, 8
mov dword [ebp - 0x90], esi
test eax, 0x7d13
test esi, esi
jne 0x10003c54
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push 0
push 0x30
push esi
call dword [sym.imp.MSVCRT.dll_fseek]
push edx
pop edx
mov esi, esi
mov ah, ah
test ebx, ebx
push esi
push 0xc
lea ecx, [ebp - 0x28]
push 1
push ecx
call dword [sym.imp.MSVCRT.dll_fread]
mov dl, dl
lea edx, [ebp - 4]
lea eax, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x28]
push eax
push ecx
call fcn.10004160
add esp, 0x28
push ebx
pop ebx
lea edi, [ebp - 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x10003e66
push 0xb
push 0x1000a3ec
lea edx, [ebp - 0x1c]
push 0xffffffffffffffff
push edx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov cl, cl
push 0
lea eax, [ebp - 0x1c]
push 0x1000a2ec
push eax
call fcn.100041d0
push ebx
pop ebx
push 2
lea ecx, [ebp - 0x1c]
push 0x1000a36c
push ecx
call fcn.100041d0
push ebx
pop ebx
mov dword [0x1000a2e8], 0x1000a3ec
test edi, edi
mov dword [0x1000a2e0], 0x1000a2ec
mov bl, bl
test bl, bl
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
push 0
push 0x1c
push esi
call edi
test cl, cl
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 4
lea edx, [ebp - 0x10]
push 1
push edx
call ebx
test edx, edx
push 0
push 0x28
push esi
call edi
add esp, 0x40
mov bl, bl
push esi
push 4
lea eax, [ebp + 8]
push 1
push eax
call ebx
add esp, 0x10
mov ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
jne 0x10003d4d
mov dword [0x1000a2e4], 0x1000a36c
mov ah, ah
jmp 0x10004148
mov eax, 0x38
mov edx, 0x32
mov esi, 0x2d
mov word [ebp - 0x8a], ax
mov word [ebp - 0x86], dx
mov word [ebp - 0x84], ax
mov word [ebp - 0x82], ax
mov word [ebp - 0x7a], si
mov word [ebp - 0x72], dx
mov word [ebp - 0x70], si
mov word [ebp - 0x68], dx
mov word [ebp - 0x66], si
mov word [ebp - 0x64], ax
mov word [ebp - 0x5c], si
mov ebx, 0x34
mov ecx, 0x41
mov edi, 0x44
mov edx, 0x35
mov esi, 0x33
mov eax, 0x31
mov word [ebp - 0x8c], 0x7b
mov word [ebp - 0x88], bx
mov word [ebp - 0x80], cx
mov word [ebp - 0x7e], cx
mov word [ebp - 0x7c], di
mov word [ebp - 0x78], 0x42
mov word [ebp - 0x76], cx
mov word [ebp - 0x74], 0x30
mov word [ebp - 0x6e], bx
mov word [ebp - 0x6c], 0x45
mov word [ebp - 0x6a], 0x46
mov word [ebp - 0x62], dx
mov word [ebp - 0x60], 0x45
mov word [ebp - 0x5e], 0x43
mov word [ebp - 0x5a], si
mov word [ebp - 0x58], 0x46
mov word [ebp - 0x56], cx
mov word [ebp - 0x54], di
mov word [ebp - 0x52], bx
mov word [ebp - 0x50], di
mov word [ebp - 0x4e], ax
mov word [ebp - 0x4c], ax
mov word [ebp - 0x4a], si
mov word [ebp - 0x48], dx
mov word [ebp - 0x46], bx
mov word [ebp - 0x44], di
mov word [ebp - 0x42], 0x7d
mov word [ebp - 0x40], 0
mov bl, bl
lea ecx, [ebp - 0x8c]
push ecx
push 0x1000a36c
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
test edx, edx
mov dword [0x1000a2e4], 0x1000a36c
mov ebp, ebp
jmp 0x10004142
mov ecx, 0x64
mov eax, 0x6d
mov word [ebp - 0x3c], cx
mov word [ebp - 0x3a], ax
mov word [ebp - 0x38], 0x2e
mov word [ebp - 0x36], cx
mov word [ebp - 0x34], ax
mov word [ebp - 0x32], 0x73
mov word [ebp - 0x30], 0x6f
mov word [ebp - 0x2e], 0x66
mov word [ebp - 0x2c], 0x74
mov word [ebp - 0x2a], 0
test ch, ch
lea edx, [ebp - 0x3c]
push edx
push 0x1000a3ec
call ebx
test ch, ch
mov eax, 0x30
mov edx, 0x32
mov word [ebp - 0xda], ax
mov word [ebp - 0xd2], ax
mov eax, 0x46
mov ecx, 0x37
mov word [ebp - 0xc0], ax
mov word [ebp - 0xbe], ax
mov word [ebp - 0xbc], ax
mov word [ebp - 0xaa], ax
mov esi, 0x2d
mov edi, 0x44
mov ebx, 0x34
mov eax, 0x30
mov word [ebp - 0xe0], 0x7b
mov word [ebp - 0xde], dx
mov word [ebp - 0xdc], 0x36
mov word [ebp - 0xd8], 0x33
mov word [ebp - 0xd6], cx
mov word [ebp - 0xd4], 0x41
mov word [ebp - 0xd0], 0x45
mov word [ebp - 0xce], si
mov word [ebp - 0xcc], cx
mov word [ebp - 0xca], 0x43
mov word [ebp - 0xc8], 0x42
mov word [ebp - 0xc6], di
mov word [ebp - 0xc4], si
mov word [ebp - 0xc2], bx
mov word [ebp - 0xba], si
mov word [ebp - 0xb8], 0x39
mov word [ebp - 0xb6], 0x43
mov word [ebp - 0xb4], 0x36
mov word [ebp - 0xb2], 0x33
mov word [ebp - 0xb0], si
mov word [ebp - 0xae], 0x35
mov word [ebp - 0xac], 0x36
mov word [ebp - 0xa8], dx
mov word [ebp - 0xa6], di
mov word [ebp - 0xa4], ax
mov word [ebp - 0xa2], cx
mov word [ebp - 0xa0], cx
mov word [ebp - 0x9e], ax
mov word [ebp - 0x9c], dx
mov word [ebp - 0x9a], 0x31
mov word [ebp - 0x98], bx
mov word [ebp - 0x96], 0x7d
mov word [ebp - 0x94], 0
test ebx, ebx
lea eax, [ebp - 0xe0]
push eax
push 0x1000a2ec
call dword [sym.imp.MSVCRT.dll_wcscpy]
test ecx, ecx
mov eax, 0x38
mov edx, 0x32
mov ecx, 0x41
mov word [ebp - 0x8c], 0x7b
mov word [ebp - 0x8a], ax
mov word [ebp - 0x88], bx
mov word [ebp - 0x86], dx
mov word [ebp - 0x84], ax
mov word [ebp - 0x82], ax
mov word [ebp - 0x80], cx
mov word [ebp - 0x7a], si
mov word [ebp - 0x72], dx
mov word [ebp - 0x70], si
mov word [ebp - 0x68], dx
mov word [ebp - 0x66], si
mov word [ebp - 0x64], ax
mov word [ebp - 0x5c], si
mov edx, 0x35
mov esi, 0x33
mov eax, 0x31
mov word [ebp - 0x7e], cx
mov word [ebp - 0x7c], di
mov word [ebp - 0x78], 0x42
mov word [ebp - 0x76], cx
mov word [ebp - 0x74], 0x30
mov word [ebp - 0x6e], bx
mov word [ebp - 0x6c], 0x45
mov word [ebp - 0x6a], 0x46
mov word [ebp - 0x62], dx
mov word [ebp - 0x60], 0x45
mov word [ebp - 0x5e], 0x43
mov word [ebp - 0x5a], si
mov word [ebp - 0x58], 0x46
mov word [ebp - 0x56], cx
mov word [ebp - 0x54], di
mov word [ebp - 0x52], bx
mov word [ebp - 0x50], di
mov word [ebp - 0x4e], ax
mov word [ebp - 0x4c], ax
mov word [ebp - 0x4a], si
mov word [ebp - 0x48], dx
mov word [ebp - 0x46], bx
mov word [ebp - 0x44], di
mov word [ebp - 0x42], 0x7d
mov word [ebp - 0x40], 0
test eax, 0x695
lea ecx, [ebp - 0x8c]
push ecx
push 0x1000a36c
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 0x18
test ch, ch
mov dword [0x1000a2e8], 0x1000a3ec
mov bh, bh
mov dword [0x1000a2e0], 0x1000a2ec
test esi, esi
mov dword [0x1000a2e4], 0x1000a36c
mov edx, edx
mov esi, dword [ebp - 0x90]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov ebx, ebx
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret