Function at 0x40d920
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x318
mov eax, dword [0x49f864]
xor eax, esp
mov dword [esp + 0x314], eax
mov eax, dword [esp + 0x31c]
push ebx
push ebp
push esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x32c]
xor esi, esi
push edi
mov ebx, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], esi
mov edi, 0x40d7d0
mov ebp, 0x40d820
call fcn.0040d8b0
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], ebp
mov ecx, fcn.00407020
mov dword [eax + 8], ecx
mov ecx, 0x40d860
push esi
mov dword [eax + 0xc], ecx
push esi
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.0043b3c0
add esp, 0x20
test eax, eax
jne 0x40d9fd
lea eax, [esp + 0x54]
push 0xffffffffffffffff
push eax
call fcn.0043c770
mov edi, eax
add esp, 8
test edi, edi
je 0x40d9fd
lea ecx, [esp + 0x54]
push 0xffffffffffffffff
push ecx
call fcn.0043c070
mov edx, dword [edi + 4]
imul edx, dword [edi + 8]
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
fmulp st(1)
fadd st(0), st(0)
fstp qword [esp]
call fcn.0044afc0
call fcn.0044a960
mov ebp, eax
lea eax, [ebp + 0x2e]
push eax
call fcn.00449d60
add esp, 0xc
mov dword [ebx], eax
test eax, eax
jne 0x40da04
lea ecx, [esp + 0x54]
push ecx
call fcn.0043b2c0
add esp, 4
xor eax, eax
jmp 0x40db3c
mov eax, dword [ebx]
push 0
push 1
push 2
push 0
mov edx, ebp
sub edx, esi
push edx
lea ecx, [eax + esi + 0x2e]
push ecx
lea edx, [esp + 0x6c]
push edx
call fcn.0043c7b0
add esp, 0x1c
test eax, eax
jne 0x40da33
mov dword [esp + 0x10], 1
jmp 0x40da3b
jl 0x40db57
add esi, eax
mov eax, ebp
sub eax, esi
je 0x40da48
cmp dword [esp + 0x10], 0
je 0x40da04
mov cx, word [edi + 4]
mov word [esp + 0x3a], cx
mov ecx, dword [edi + 4]
mov eax, 0x12
mov word [esp + 0x48], ax
mov dword [esp + 0x34], eax
mov eax, 1
mov word [esp + 0x38], ax
mov eax, dword [edi + 8]
imul ecx, eax
mov dword [esp + 0x3c], eax
mov ax, word [edi + 4]
add ax, ax
mov word [esp + 0x44], ax
mov eax, 0x10
mov word [esp + 0x46], ax
mov eax, dword [ebx]
mov dword [eax], 0x46464952
mov eax, dword [ebx]
lea ebp, [esi + 0x2e]
lea edx, [ebp - 8]
mov dword [eax + 4], edx
mov dword [esp + 0x28], edx
mov edx, dword [ebx]
mov dword [edx + 8], 0x45564157
mov eax, dword [ebx]
mov dword [eax + 0xc], 0x20746d66
mov edx, dword [ebx]
mov dword [edx + 0x10], 0x12
mov eax, dword [ebx]
mov edx, dword [esp + 0x38]
mov dword [eax + 0x14], edx
mov edx, dword [esp + 0x3c]
add eax, 0x14
mov dword [eax + 4], edx
mov dx, word [esp + 0x48]
add ecx, ecx
mov dword [eax + 8], ecx
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0xc], ecx
mov word [eax + 0x10], dx
mov eax, dword [ebx]
mov edi, 0x61746164
mov dword [eax + 0x26], edi
mov ecx, dword [ebx]
mov dword [ecx + 0x2a], esi
mov dword [esp + 0x4a], edi
mov dword [esp + 0x50], esi
lea edx, [esp + 0x54]
lea edi, [ebx + 8]
mov ecx, 0xc
lea esi, [esp + 0x24]
mov dword [esp + 0x24], 0x46464952
mov dword [esp + 0x2c], 0x45564157
mov dword [esp + 0x30], 0x20746d66
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.0043b2c0
add esp, 4
mov dword [ebx + 4], ebp
mov eax, 1
mov ecx, dword [esp + 0x324]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00449be0
add esp, 0x318
ret 8
lea ecx, [esp + 0x54]
push ecx
call fcn.0043b2c0
mov edx, dword [ebx]
push edx
call fcn.00449c70
add esp, 8
mov dword [ebx], 0
xor eax, eax
jmp 0x40db3c