Function at 0x41ce50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x4e0
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
movaps xmmword [esp + 0xc0], xmm0
movaps xmmword [esp + 0xb0], xmm0
movaps xmmword [esp + 0xa0], xmm0
lea edi, [esp + 0xdc]
push 0x400
push 0
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
mov dword [esp + 0xc], 0
test bl, 4
jne 0x41cee6
lea eax, [esp + 0xc]
push 0x3f6
push edi
push eax
push dword [esi + 0xc]
call fcn.0041ace0
add esp, 0x10
mov ebx, eax
test eax, eax
jne 0x41d3db
mov eax, dword [esp + 0xc]
test al, 1
jne 0x41d15f
test al, 0x10
mov esi, dword [ebp + 8]
je 0x41cee6
mov ebx, 0x10
test byte [esi + 9], 0x40
je 0x41d3db
mov edi, esi
xorps xmm0, xmm0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x20], xmm0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
mov ebx, 0x7f2bb755
cmp esi, 0x400
jb 0x41d3db
mov ebx, dword [edi + 0x14]
push ebx
push 1
call sub.api_ms_win_crt_heap_l1_1_0.dll_calloc
add esp, 8
test eax, eax
je 0x41d155
mov ecx, eax
mov dword [eax], 0x98393bc0
xor eax, eax
mov edx, dword [ebp + 0x18]
test dl, 1
sete al
shl eax, 0x18
add eax, 0x3000000
mov dword [ecx + 4], eax
mov eax, ebx
bswap eax
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
add esi, eax
bswap esi
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x40], 0x1000000
mov dword [ecx + 0x14], 0x1000000
mov dword [ecx + 0x18], 0x1000000
bswap eax
mov dword [ecx + 0x54], eax
mov eax, dword [edi + 0x10]
movups xmm0, xmmword [eax + 0x68]
movups xmmword [ecx + 0x30], xmm0
test byte [eax + 0x60], 8
mov esi, edi
je 0x41cfcf
mov dword [ecx + 0x40], 0
xor eax, eax
cmp ebx, 0x400
sete al
or eax, 2
shl eax, 0x18
mov dword [ecx + 0x14], eax
mov edi, ecx
push esi
call fcn.004291d0
add esp, 4
mov ebx, eax
test eax, eax
jne 0x41d147
lea eax, [esp + 0x20]
push eax
push 8
push esi
call fcn.0041a460
add esp, 0xc
mov ebx, eax
test eax, eax
jne 0x41d147
mov ebx, 0x11
cmp dword [esp + 0x3c], 0
jne 0x41d147
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, eax
and ecx, edx
cmp ecx, 0xffffffff
jne 0x41d024
mov ecx, esi
call fcn.0041d4e0
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [esi + 0x10]
test byte [eax + 0x60], 0x40
je 0x41d03a
or byte [esp + 0x42], 8
mov eax, dword [ebp + 0x18]
test al, 2
sete byte [esp]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 4]
add eax, dword [ecx]
mul dword [esi + 0x14]
mov ecx, eax
mov ebx, edx
mov eax, dword [esi + 0x60]
test eax, eax
jne 0x41d06c
push 0
mov dword [esp + 0x20], ecx
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time32]
mov ecx, dword [esp + 0x20]
add esp, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov word [esp + 0x3a], 1
mov word [esp + 0x20], 0x8180
push ebx
push ecx
lea eax, [esp + 0x28]
push eax
push esi
call fcn.004120c0
add esp, 0x10
mov ebx, eax
test eax, eax
jne 0x41d147
xor edx, edx
movzx eax, byte [esp]
mov dl, al
or edx, 2
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 4]
add eax, dword [ecx]
push 0
push eax
push 0
push 0
push dword [esp + 0x18]
push dword [esp + 0x18]
lea eax, [esp + 0x38]
push eax
push 8
push edx
push esi
call fcn.00434e50
add esp, 0x28
mov ebx, eax
test eax, eax
jne 0x41d147
lea eax, [esp + 0x20]
push eax
push 8
push esi
call fcn.0041a7c0
add esp, 0xc
mov ebx, eax
test eax, eax
jne 0x41d147
sub esp, 0x24
lea eax, [esp + 0x34]
mov dword [esp + 0x20], eax
xorps xmm0, xmm0
movups xmmword [esp + 0xc], xmm0
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp], esi
mov dword [esp + 0x1c], 0
mov dword [esp + 4], 8
call fcn.00433670
add esp, 0x24
mov ebx, eax
test eax, eax
jne 0x41d147
push edi
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [esi + 4]
call fcn.0041abc0
add esp, 0x14
mov ebx, eax
test eax, eax
je 0x41d3f2
push edi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
jmp 0x41d3db
mov ebx, 0x7f2bb746
jmp 0x41d3db
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov dword [esp + eax + 0xdc], 0x6f6a2e2f
mov dword [esp + eax + 0xe0], 0x616e7275
mov word [esp + eax + 0xe4], 0x6c
push 0x180
push 0x101
push edi
call sub.api_ms_win_crt_stdio_l1_1_0.dll__open
add esp, 0xc
test eax, eax
js 0x41d3d3
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
mov ebx, 0x7f2bb755
cmp esi, 0x400
mov eax, dword [ebp + 8]
jb 0x41d334
mov dword [esp + 8], ecx
mov ebx, dword [eax + 0x14]
push ebx
push 1
call sub.api_ms_win_crt_heap_l1_1_0.dll_calloc
add esp, 8
test eax, eax
je 0x41d2e8
mov edx, eax
xor eax, eax
mov ecx, dword [ebp + 0x18]
test cl, 1
mov dword [edx], 0x98393bc0
sete al
shl eax, 0x18
add eax, 0x3000000
mov dword [edx + 4], eax
mov eax, ebx
bswap eax
mov dword [edx + 0xc], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
add esi, eax
bswap esi
mov dword [edx + 0x10], esi
mov dword [edx + 0x40], 0x1000000
mov dword [edx + 0x14], 0x1000000
mov dword [edx + 0x18], 0x1000000
bswap eax
mov dword [edx + 0x54], eax
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
movups xmm0, xmmword [eax + 0x68]
movups xmmword [edx + 0x30], xmm0
test byte [eax + 0x60], 8
je 0x41d253
mov dword [edx + 0x40], 0
xor eax, eax
cmp ebx, 0x400
sete al
or eax, 2
shl eax, 0x18
mov dword [edx + 0x14], eax
mov dword [esp + 4], edx
push 1
push edi
call sub.api_ms_win_crt_stdio_l1_1_0.dll__open
add esp, 8
test eax, eax
js 0x41d2f3
push dword [esi + 0x14]
push dword [esp + 8]
mov dword [esp + 8], eax
push eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll__write
add esp, 0xc
test eax, eax
js 0x41d2fd
mov edi, eax
mov ebx, 0x7f2bb725
mov esi, dword [ebp + 8]
cmp eax, dword [esi + 0x14]
jne 0x41d30c
push edi
push 0
push dword [esp + 0xc]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 4]
add eax, dword [ecx]
cmp eax, 2
jb 0x41d30a
mov esi, 1
mov eax, dword [esp]
push edi
push dword [esp + 8]
push eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll__write
add esp, 0xc
test eax, eax
js 0x41d2fd
mov edi, eax
mov eax, dword [ebp + 8]
cmp edi, dword [eax + 0x14]
jne 0x41d305
inc esi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 4]
add eax, dword [ecx]
cmp esi, eax
mov eax, dword [esp]
jb 0x41d2b5
xor ebx, ebx
mov esi, dword [ebp + 8]
jmp 0x41d30f
mov ebx, 0x7f2bb746
mov ecx, dword [esp + 8]
jmp 0x41d334
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, dword [eax]
jmp 0x41d318
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, dword [eax]
mov esi, dword [ebp + 8]
jmp 0x41d30c
xor ebx, ebx
mov eax, dword [esp]
push eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll__close_1
add esp, 4
push dword [esp + 4]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
test ebx, ebx
je 0x41d342
mov ecx, dword [esp + 8]
test ecx, ecx
js 0x41d3db
push ecx
call sub.api_ms_win_crt_stdio_l1_1_0.dll__close_1
add esp, 4
jmp 0x41d3db
lea eax, [esp + 0xa0]
push eax
mov edi, dword [esp + 0xc]
push edi
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__fstat32i64]
add esp, 8
test eax, eax
js 0x41d3e5
push edi
call sub.api_ms_win_crt_stdio_l1_1_0.dll__close_1
add esp, 4
test eax, eax
js 0x41d3d3
movzx eax, word [esp + 0xa4]
mov ecx, dword [esi + 0x10]
xorps xmm0, xmm0
movups xmmword [ecx + 0x13c], xmm0
movups xmmword [ecx + 0x12c], xmm0
movups xmmword [ecx + 0x11c], xmm0
movups xmmword [ecx + 0x10c], xmm0
mov dword [ecx + 0x14c], 0
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0xe0], eax
mov eax, dword [esi + 0x10]
mov dword [eax + 0xe4], 0
mov eax, dword [esi + 0x10]
xorps xmm0, xmm0
movups xmmword [eax + 0xd0], xmm0
mov eax, dword [esi + 0x10]
or dword [eax + 0x5c], 4
or byte [esi + 8], 6
xor ebx, ebx
jmp 0x41d3db
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, dword [eax]
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, dword [eax]
jmp 0x41d328
mov eax, dword [esi + 0x10]
movups xmm0, xmmword [esp + 0x74]
movups xmmword [eax + 0x138], xmm0
movups xmm0, xmmword [esp + 0x68]
movups xmmword [eax + 0x12c], xmm0
movups xmm0, xmmword [esp + 0x48]
movups xmm1, xmmword [esp + 0x58]
movups xmmword [eax + 0x11c], xmm1
movups xmmword [eax + 0x10c], xmm0
mov eax, dword [esp + 0x8c]
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0x148], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0x14c], eax
mov eax, dword [esi + 0x10]
mov byte [eax + 0xfd], 1
or byte [esi + 8], 6
push edi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
mov eax, 8
jmp 0x41d3a1