Function at 0x40a320
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x110
mov dword [esp + 0x10], ecx
mov eax, dword [0x48000c]
xor eax, ebp
mov dword [esp + 0x108], eax
mov eax, dword [edx]
mov dword [esp + 0x18], edx
mov ecx, dword [edx + 4]
mov edx, ecx
sub edx, eax
test edx, edx
jle 0x40a9bb
mov esi, eax
sub esi, ecx
cmp esi, edx
cmovle esi, edx
shr esi, 2
xor edx, edx
inc edx
test esi, esi
cmovne edx, esi
mov dword [esp + 0x1c], edx
cmp eax, ecx
je 0x40a9d1
lea esi, [esp + 0x28]
xor edx, edx
mov dword [esp + 0x20], edx
mov edi, dword [eax + edx*4]
mov ecx, esi
push 0
call fcn.00406af0
mov ecx, edi
mov edi, dword [edi + 0x10]
test edi, edi
mov dword [esp + 0xc], ecx
je 0x40a3a8
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov ebx, dword [edx + 4]
cmp byte [ebx + 0xd], 0
je 0x40a3de
mov eax, dword [ecx + 0x60]
cmp eax, 6
ja case.default.0x40a3b8
lea edi, [esp + 0x40]
jmp dword [eax*4 + 0x4491bc]
mov eax, 4
mov dword [esp + 0x50], eax
mov eax, 0xf
mov dword [esp + 0x54], eax
mov dword [esp + 0x40], 0x656e6f6e
jmp 0x40a60e
mov eax, dword [ebx + 0x10]
mov dword [esp + 4], eax
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
mov dword [esp + 8], edx
call dword [section..00cfg]
mov ecx, dword [esp + 4]
call esi
mov dword [esp + 0x14], eax
mov dword [esp + 4], edx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
cmp dword [esp + 0x14], eax
sbb dword [esp + 4], edx
mov edx, dword [esp + 8]
setb al
cmovae edx, ebx
movzx eax, al
mov esi, dword [ebx + eax*8]
cmp byte [esi + 0xd], 0
jne 0x40a48d
mov dword [esp + 8], edx
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x24], eax
mov edi, dword [esi + 0x10]
mov eax, dword [edi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
mov dword [esp + 0x14], eax
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x24]
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
call edi
cmp dword [esp + 0x14], eax
sbb dword [esp + 4], edx
mov edx, dword [esp + 8]
setb al
cmovae edx, esi
movzx eax, al
mov esi, dword [esi + eax*8]
jmp 0x40a42d
mov eax, dword [esp + 0x10]
cmp edx, dword [eax]
lea esi, [esp + 0x28]
mov ecx, dword [esp + 0xc]
je 0x40a3a8
mov esi, dword [edx + 0x10]
mov edi, dword [ecx + 0x10]
mov eax, dword [edi]
mov ebx, dword [eax + 4]
mov ecx, ebx
mov dword [esp + 8], edx
call dword [section..00cfg]
mov ecx, edi
call ebx
mov dword [esp + 4], eax
mov ebx, edx
mov eax, dword [esi]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
lea esi, [esp + 0x28]
call edi
cmp dword [esp + 4], eax
sbb ebx, edx
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
cmovb edx, eax
cmp edx, eax
je 0x40a3a8
mov esi, dword [edx + 0x14]
xor edi, edi
mov dword [esp + 0x64], edi
lea ebx, [esp + 0x58]
mov ecx, ebx
push edi
push 2
call fcn.00404aa0
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], esi
lea esi, [esp + 0x28]
mov ecx, esi
push 0x453d94
push str.module_index
call fcn.00401610
mov ecx, ebx
push eax
call fcn.00401450
mov ecx, ebx
call fcn.00401060
mov ecx, dword [esp + 0xc]
jmp 0x40a3a8
mov eax, 4
add eax, 0xffffffff
mov ecx, 0xf
adc ecx, 0xffffffff
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x40], 0x696663
jmp 0x40a66d
mov eax, 4
add eax, 4
mov ecx, 0xf
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x44], 0x6e616373
mov dword [esp + 0x40], 0x5f696663
mov byte [esp + 0x48], 0
jmp 0x40a66d
mov eax, 4
add eax, 9
mov ecx, 0xf
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x40], 0x6d617266
mov dword [esp + 0x44], 0x6f705f65
mov dword [esp + 0x48], 0x65746e69
mov word [esp + 0x4c], 0x72
jmp 0x40a66d
mov eax, 4
mov dword [esp + 0x50], eax
mov eax, 0xf
mov dword [esp + 0x54], eax
mov dword [esp + 0x40], 0x656e6f6e
mov byte [esp + 0x44], 0
lea edi, [esp + 0x40]
jmp 0x40a66d
mov eax, 4
mov dword [esp + 0x50], eax
mov eax, 0xf
mov dword [esp + 0x54], eax
mov dword [esp + 0x40], 0x6e616373
mov byte [esp + 0x44], 0
jmp 0x40a66d
mov eax, 4
add eax, 5
mov ecx, 0xf
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x40], 0x77657270
mov dword [esp + 0x44], 0x656b6c61
mov word [esp + 0x48], 0x64
jmp 0x40a66d
mov eax, 4
add eax, 3
mov ecx, 0xf
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x40], 0x746e6f63
mov dword [esp + 0x43], 0x74786574
mov byte [esp + 0x47], 0
lea ebx, [esp + 0x58]
mov ecx, ebx
push edi
call fcn.004451d0
mov ecx, esi
push 0x453e57
push str.trust
call fcn.00401610
mov ecx, ebx
push eax
call fcn.00401450
mov ecx, ebx
call fcn.00401060
mov ecx, dword [esp + 0x54]
cmp ecx, 0x10
jb 0x40a6c1
mov eax, dword [esp + 0x40]
inc ecx
cmp ecx, 0x1000
jae 0x40a98b
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
lea edi, [esp + 0x40]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 8]
mov dword [esp + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [esp + 4], eax
mov dword [esp + 0x58], 0x4490c4
mov dword [esp + 0x68], 0x4490cc
lea ecx, [esp + 0xc0]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::ios_base::constructor_void_]
mov dword [esp + 0xc0], 0x4490d8
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 4]
mov ecx, 0x4490d4
mov dword [esp + eax + 0x58], ecx
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x68]
mov dword [esp + eax + 0x54], ecx
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x58], 0x4490e0
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x18]
mov dword [esp + eax + 0x54], ecx
xor esi, esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], esi
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 4]
add ecx, ebx
push esi
lea ebx, [esp + 0x74]
push ebx
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::init_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x68], 0x4490e4
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 4]
lea ecx, [eax - 8]
mov dword [esp + eax + 0x64], ecx
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x58], 0x4490dc
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x20]
mov dword [esp + eax + 0x54], ecx
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 4]
mov ecx, 0x4490d4
mov dword [esp + eax + 0x58], ecx
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x68]
mov dword [esp + eax + 0x54], ecx
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov eax, 0x4490f0
mov dword [esp + 0x70], eax
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], esi
lea esi, [esp + 0x28]
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 4]
mov ecx, dword [esp + eax + 0x7c]
mov edx, 0xfffff1ff
and ecx, edx
or ecx, 0x800
mov dword [esp + eax + 0x7c], ecx
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 4]
or dword [esp + eax + 0x7c], 8
lea ecx, [esp + 0x68]
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_long_unsigned___int64__]
mov ecx, ebx
push edi
call fcn.00403ba0
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 4]
mov ecx, 0x4490d4
mov dword [esp + eax + 0x58], ecx
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x68]
mov dword [esp + eax + 0x54], ecx
mov eax, 0x4490f0
mov dword [esp + 0x70], eax
test byte [esp + 0xac], 1
je 0x40a87c
mov eax, dword [esp + 0x90]
mov eax, dword [eax]
lea ecx, [esp + 0xa0]
test eax, eax
je 0x40a95a
mov ecx, dword [ecx]
add eax, dword [ecx]
mov ecx, dword [esp + 0x7c]
mov ecx, dword [ecx]
sub eax, ecx
cmp eax, 0x1000
jae 0x40a96f
push ecx
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov eax, dword [esp + 0x7c]
xor ecx, ecx
mov dword [eax], ecx
mov eax, dword [esp + 0x8c]
mov dword [eax], ecx
mov eax, dword [esp + 0x9c]
mov dword [eax], ecx
mov eax, dword [esp + 0x80]
mov dword [eax], ecx
mov eax, dword [esp + 0x90]
mov dword [eax], ecx
mov eax, dword [esp + 0xa0]
mov dword [eax], ecx
mov dword [esp + 0xa8], ecx
and byte [esp + 0xac], 0xfe
lea ecx, [esp + 0x70]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [esp + 0xc0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::ios_base::destructor_void_]
lea ebx, [esp + 0x58]
mov ecx, ebx
push edi
call fcn.004451d0
mov ecx, esi
push 0x454138
push 0x454136
call fcn.00401610
mov ecx, ebx
push eax
call fcn.00401450
mov ecx, ebx
call fcn.00401060
mov ecx, dword [esp + 0x54]
cmp ecx, 0x10
jb 0x40a927
mov eax, dword [esp + 0x40]
inc ecx
cmp ecx, 0x1000
jae 0x40a9a3
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov ecx, dword [ebp + 8]
push esi
call fcn.004473b0
mov ecx, esi
call fcn.00401060
mov edx, dword [esp + 0x20]
inc edx
cmp edx, dword [esp + 0x1c]
je 0x40a9bb
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, eax
sar ecx, 2
cmp ecx, edx
ja 0x40a37c
jmp 0x40a9d1
mov eax, dword [esp + 0x8c]
mov eax, dword [eax]
lea ecx, [esp + 0x9c]
jmp 0x40a85b
mov eax, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, eax
cmp ecx, 0x20
jae 0x40a9d6
mov ecx, eax
lea esi, [esp + 0x28]
lea edi, [esp + 0x40]
jmp 0x40a872
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x40a9d6
mov eax, ecx
lea ebx, [esp + 0x58]
jmp 0x40a6b3
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x40a9d6
mov eax, ecx
lea esi, [esp + 0x28]
jmp 0x40a91d
mov ecx, dword [esp + 0x108]
xor ecx, ebp
call fcn.0043f850
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.0040adf0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3