Function at 0x407040
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48bb8b
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x4c7084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov eax, dword [ebp - 0x198]
and eax, 0xffffff00
mov byte [ebp - 0x188], 0
mov dword [ebp - 0x198], eax
and eax, 0xfffffeff
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], 0
lea ecx, [ebp - 0x124]
mov dword [ebp - 4], 9
call fcn.004388e0
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 0xa
cmp eax, esi
je 0x4070e3
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00409460
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0xfc]
cmp dword [ebp - 0xe8], 0x10
cmovae ecx, dword [ebp - 0xfc]
push ecx
mov byte [ebp - 4], 0x31
lea edx, [ebp - 0x1a0]
mov eax, dword [ebp - 0xec]
add eax, ecx
mov byte [ebp - 4], 0xa
push edx
push eax
push ecx
lea ecx, [ebp - 0x124]
call fcn.00438a10
test al, al
je 0x4078af
mov byte [ebp - 4], 0x36
mov byte [ebp - 4], 0x35
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
mov byte [ebp - 4], 0x35
cmp esi, edi
je 0x407159
nop dword [eax]
mov ecx, esi
mov byte [ebp - 4], 0x3f
call fcn.00407910
add esi, 0x88
mov byte [ebp - 4], 0x35
cmp esi, edi
jne 0x407140
mov byte [ebp - 4], 0x43
mov byte [ebp - 4], 0x35
mov eax, dword [ebx]
mov dword [ebx + 4], eax
mov byte [ebp - 4], 0x48
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov byte [ebp - 4], 0x48
mov dword [ebp - 0x98], 0xf
mov byte [ebp - 4], 0x48
lea eax, [ebp - 0xac]
cmp dword [ebp - 0x98], 0x10
mov dword [ebp - 0x9c], 0
cmovae eax, dword [ebp - 0xac]
mov byte [ebp - 4], 0x62
mov byte [eax], 0
mov byte [ebp - 4], 0x63
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov byte [ebp - 4], 0x63
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 4], 0x63
lea eax, [ebp - 0x94]
cmp dword [ebp - 0x80], 0x10
mov dword [ebp - 0x84], 0
cmovae eax, dword [ebp - 0x94]
mov byte [ebp - 4], 0x7d
mov byte [eax], 0
mov byte [ebp - 4], 0x7e
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov byte [ebp - 4], 0x7e
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 4], 0x7e
lea eax, [ebp - 0x7c]
cmp dword [ebp - 0x68], 0x10
mov dword [ebp - 0x6c], 0
cmovae eax, dword [ebp - 0x7c]
mov byte [ebp - 4], 0x98
mov byte [eax], 0
mov byte [ebp - 4], 0x99
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 0x99
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 4], 0x99
cmp dword [ebp - 0x50], 0x10
lea eax, [ebp - 0x64]
mov dword [ebp - 0x54], 0
cmovae eax, dword [ebp - 0x64]
mov byte [ebp - 4], 0xb3
mov byte [eax], 0
mov byte [ebp - 4], 0xb4
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 0xb4
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 4], 0xb4
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x38], 0x10
mov dword [ebp - 0x3c], 0
cmovae eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 0xce
mov byte [eax], 0
mov byte [ebp - 4], 0xcf
cmp byte [ebp - 0x198], 7
je 0x4072bf
mov byte [ebp - 4], 0xd0
jmp 0x4078a4
push 0x4a5d3f
push 0x4a5d3c
lea ecx, [ebp - 0x1a0]
call fcn.00436e80
test eax, eax
je 0x4078a0
push 0x4a5d3f
push 0x4a5d3c
lea ecx, [ebp - 0x1a0]
call fcn.00436bd0
cmp byte [eax + 8], 4
jne 0x4078a0
push 0x4a5d3f
push 0x4a5d3c
lea ecx, [ebp - 0x1a0]
call fcn.00436bd0
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.00435d30
mov esi, eax
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 0xd3
cmp eax, esi
je 0x4073a4
mov byte [ebp - 4], 0xd3
cmp dword [ebp - 0x98], 0x10
jb 0x40735a
mov byte [ebp - 4], 0xd3
mov ecx, dword [ebp - 0xac]
mov byte [ebp - 4], 0xd3
mov eax, dword [ebp - 0x98]
inc eax
push eax
push ecx
lea ecx, [ebp - 0xac]
call fcn.00409fe0
mov byte [ebp - 4], 0xd3
mov dword [ebp - 0x98], 0xf
mov byte [ebp - 4], 0xd3
lea eax, [ebp - 0xac]
cmp dword [ebp - 0x98], 0x10
mov dword [ebp - 0x9c], 0
cmovae eax, dword [ebp - 0xac]
mov byte [ebp - 4], 0xed
mov byte [eax], 0
push esi
lea ecx, [ebp - 0xac]
mov dword [ebp - 4], 0xd3
call fcn.004097c0
mov dword [ebp - 4], 0x117
cmp dword [ebp - 0x14], 0x10
jb 0x4073ca
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x14]
inc eax
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00409fe0
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x18], 0
cmovae eax, dword [ebp - 0x28]
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0x1a0]
push 0x4a5d4a
mov byte [eax], 0
push str.g_type
mov dword [ebp - 4], 0xcf
call fcn.00436e80
test eax, eax
je 0x407885
push 0x4a5d4a
push str.g_type
lea ecx, [ebp - 0x1a0]
call fcn.00436bd0
mov ecx, eax
call fcn.004372c0
test al, al
je 0x407885
push 0x4a5d4a
push str.g_type
lea ecx, [ebp - 0x1a0]
call fcn.00436bd0
mov ecx, eax
call fcn.00435ea0
mov dword [ebp - 0xb0], eax
dec eax
cmp eax, 2
ja 0x40786a
push str.items
lea ecx, [ebp - 0x1a0]
call fcn.00436fa0
test al, al
je 0x40784f
push 0x4a5dd9
push str.items
lea ecx, [ebp - 0x1a0]
call fcn.00436bd0
cmp byte [eax + 8], 6
jne 0x40784f
push 0x4a5dd9
push str.items
lea ecx, [ebp - 0x1a0]
call fcn.00436bd0
mov ecx, eax
call fcn.00436640
mov edi, eax
xor esi, esi
test edi, edi
je 0x40778a
nop word [eax + eax]
push 0x4a5dd9
push str.items
lea ecx, [ebp - 0x1a0]
call fcn.00436bd0
push esi
mov ecx, eax
call fcn.004366d0
push eax
lea ecx, [ebp - 0x28]
call fcn.00435950
mov dword [ebp - 4], 0x135
lea ecx, [ebp - 0x28]
cmp byte [ebp - 0x20], 7
jne 0x407775
push 0x4a5d40
call fcn.00436fa0
test al, al
je 0x407772
push 0x4a5d43
push 0x4a5d40
lea ecx, [ebp - 0x28]
call fcn.00436bd0
cmp byte [eax + 8], 4
jne 0x407772
push 0x4a5d43
push 0x4a5d40
lea ecx, [ebp - 0x28]
call fcn.00436bd0
lea ecx, [ebp - 0x13c]
push ecx
mov ecx, eax
call fcn.00435d30
push eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x36
call fcn.004087d0
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x35
call fcn.00408790
push str.s_type
lea ecx, [ebp - 0x28]
call fcn.00436fa0
test al, al
je 0x407772
push 0x4a5d52
push str.s_type
lea ecx, [ebp - 0x28]
call fcn.00436bd0
mov ecx, eax
call fcn.004372c0
test al, al
je 0x407772
push 0x4a5d52
push str.s_type
lea ecx, [ebp - 0x28]
call fcn.00436bd0
mov ecx, eax
call fcn.00435ea0
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x28]
dec eax
cmp eax, 2
ja 0x407775
push str.weight
call fcn.00436fa0
test al, al
je 0x407772
push 0x4a6212
push str.weight
lea ecx, [ebp - 0x28]
call fcn.00436bd0
mov ecx, eax
call fcn.004372c0
test al, al
je 0x407772
push 0x4a6212
push str.weight
lea ecx, [ebp - 0x28]
call fcn.00436bd0
mov ecx, eax
call fcn.00435ea0
push 0x4a6214
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x30], eax
call fcn.00436fa0
test al, al
je 0x407772
push 0x4a6217
push 0x4a6214
lea ecx, [ebp - 0x28]
call fcn.00436bd0
cmp byte [eax + 8], 4
jne 0x407772
push 0x4a6217
push 0x4a6214
lea ecx, [ebp - 0x28]
call fcn.00436bd0
lea ecx, [ebp - 0x154]
push ecx
mov ecx, eax
call fcn.00435d30
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x37
call fcn.004087d0
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 0x35
call fcn.00408790
push str.hash
lea ecx, [ebp - 0x28]
call fcn.00436fa0
test al, al
je 0x407772
push 0x4a621c
push str.hash
lea ecx, [ebp - 0x28]
call fcn.00436bd0
cmp byte [eax + 8], 4
jne 0x407772
push 0x4a621c
push str.hash
lea ecx, [ebp - 0x28]
call fcn.00436bd0
lea ecx, [ebp - 0x16c]
push ecx
mov ecx, eax
call fcn.00435d30
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x38
call fcn.004087d0
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x35
call fcn.00408790
push str.param
lea ecx, [ebp - 0x28]
call fcn.00436fa0
test al, al
je 0x407772
push 0x4a6225
push str.param
lea ecx, [ebp - 0x28]
call fcn.00436bd0
cmp byte [eax + 8], 4
jne 0x407772
push 0x4a6225
push str.param
lea ecx, [ebp - 0x28]
call fcn.00436bd0
lea ecx, [ebp - 0x184]
push ecx
mov ecx, eax
call fcn.00435d30
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x39
call fcn.004087d0
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], 0x35
call fcn.00408790
lea eax, [ebp - 0xb0]
mov ecx, ebx
push eax
call fcn.00408520
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xcf
call fcn.00435af0
inc esi
cmp esi, edi
jb 0x4074d0
mov dword [ebp - 4], 0x13e
mov byte [ebp - 4], 0x3a
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [ebp - 4], 0xcf
cmp ecx, eax
jne 0x4077c3
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 0x141
call fcn.00407910
mov dword [ebp - 4], 9
jmp 0x4078b3
xor al, al
mov dword [ebp - 4], 0x145
mov byte [ebp - 4], 0x42
mov esi, dword [ebx + 4]
mov dword [ebp - 4], 0x148
mov edx, esi
mov ecx, dword [ebx]
sub edx, ecx
mov dword [ebp - 4], 0xcf
mov byte [ebp - 0x188], al
lea eax, [ebp - 0x188]
push eax
mov eax, 0x78787879
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, esi
push eax
call fcn.0040a5f0
add esp, 8
mov bl, 1
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 0x14e
call fcn.00407910
lea ecx, [ebp - 0x124]
mov dword [ebp - 4], 9
call fcn.004022c0
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 4], 0xffffffff
call fcn.00435af0
mov al, bl
jmp 0x4078d6
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 0x134
call fcn.00407910
mov dword [ebp - 4], 9
jmp 0x4078b3
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 0x133
call fcn.00407910
mov dword [ebp - 4], 9
jmp 0x4078b3
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 0x132
call fcn.00407910
mov dword [ebp - 4], 9
jmp 0x4078b3
mov byte [ebp - 4], 0xd1
lea ecx, [ebp - 0xb0]
call fcn.00407910
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x124]
call fcn.004022c0
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 4], 0xffffffff
call fcn.00435af0
mov al, byte [ebp - 0x188]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044b43a
mov esp, ebp
pop ebp
ret