Function at 0x10059c00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov dword [ebp - 0x34], edx
mov ebx, ecx
mov eax, dword [0x1038000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ecx + 0x40]
mov eax, dword [ecx + 0xe4]
add eax, 0x54
push 0x180
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, dword [ebx + 0xe4]
push esi
call fcn.10064d60
mov eax, dword [ebx + 0xe4]
xorps xmm0, xmm0
movups xmmword [eax + 0x35c], xmm0
movups xmmword [eax + 0x34c], xmm0
movups xmmword [eax + 0x33c], xmm0
movups xmmword [eax + 0x32c], xmm0
movups xmmword [eax + 0x31c], xmm0
movups xmmword [eax + 0x30c], xmm0
mov ecx, dword [ebx + 0xe4]
push ecx
call fcn.10064f50
mov eax, dword [ebx + 0xe4]
mov edx, dword [eax + 0x3d8]
mov eax, dword [eax + 0x3dc]
mov dword [ebp - 0x3c], eax
cmp edx, eax
je 0x10059d82
mov dword [ebp - 0x38], ebx
mov eax, dword [ebx + 0xe4]
mov eax, dword [eax + 0x3c4]
imul ecx, edx, 0xe8
cmp dword [eax + ecx + 0x98], 0xffffffff
je 0x10059d78
mov dword [ebp - 0x40], edx
lea esi, [eax + ecx]
lea edi, [eax + ecx]
add edi, 8
lea eax, [esi + 0x10]
mov ecx, ebx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1005cec0
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov ecx, edi
call fcn.1026b1f0
test eax, eax
je 0x10059d28
xor ebx, ebx
mov ecx, dword [esi + 0x98]
add ecx, ebx
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
je 0x10059d19
mov dword [eax], ecx
add dword [ebp - 0x24], 4
inc ebx
mov ecx, edi
call fcn.1026b1f0
cmp ebx, eax
jb 0x10059cf2
jmp 0x10059d28
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x30]
push edx
push eax
call fcn.10213280
jmp 0x10059d0b
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
sub edx, eax
sar edx, 2
mov ebx, dword [ebp - 0x38]
mov ecx, ebx
push eax
push edx
push dword [ebp - 0x2c]
push 0
call fcn.1005d280
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x10059d75
mov ecx, dword [ebp - 0x20]
sub ecx, eax
cmp ecx, 0x1000
jb 0x10059d6b
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x10059f02
mov eax, ecx
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov edx, dword [ebp - 0x40]
inc edx
cmp edx, dword [ebp - 0x3c]
jne 0x10059c9f
mov eax, dword [ebp - 0x34]
cmp byte [eax + 0x132e], 0
je 0x10059dfc
lea esi, [ebp - 0x28]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 9
mov dword [esi], 0x445f6c67
mov dword [esi + 4], 0x49776172
mov word [esi + 8], 0x44
lea edi, [ebp - 0x2c]
mov ecx, ebx
push esi
push edi
call fcn.1005cec0
mov eax, dword [edi]
mov dword [ebx + 0xb0], eax
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x10059dfc
mov eax, dword [ebp - 0x28]
add ecx, 0xfffff001
cmp ecx, 0xffffefff
ja 0x10059df2
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x10059f02
mov eax, ecx
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov eax, dword [ebp - 0x34]
cmp byte [eax + 0x1319], 0
je 0x10059ef0
lea edi, [ebp - 0x28]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0xd
mov dword [edi], 0x425f6c67
mov dword [edi + 4], 0x56657361
mov dword [edi + 8], 0x65747265
mov word [edi + 0xc], pe_nt_image_headers32
lea esi, [ebp - 0x2c]
mov ecx, ebx
push edi
push esi
call fcn.1005cec0
mov eax, dword [esi]
mov dword [ebx + 0xb4], eax
mov ecx, dword [edi + 0x14]
cmp ecx, 0x10
jb 0x10059e81
mov eax, dword [ebp - 0x28]
add ecx, 0xfffff001
cmp ecx, 0xffffefff
ja 0x10059e77
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x10059f02
mov eax, ecx
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov eax, 0xf
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x425f6c67
mov dword [ebp - 0x24], 0x49657361
mov dword [ebp - 0x20], 0x6174736e
mov dword [ebp - 0x1d], 0x65636e61
mov byte [ebp - 0x19], 0
mov ecx, ebx
push edi
push esi
call fcn.1005cec0
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0xb8], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x10059ef0
mov eax, dword [ebp - 0x28]
add ecx, 0xfffff001
cmp ecx, 0xffffefff
ja 0x10059ee6
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x10059f02
mov eax, ecx
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10212780
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3