Function at 0x48524f
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x3c8
push esi
xor eax, eax
mov byte [esp + 0x2f], dl
push edi
mov esi, ecx
mov dword [esp + 0x2c], eax
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x90], esi
mov byte [esp + 0x64], al
call fcn.0040d72a
sub esp, 0x10
mov ecx, esp
push ecx
push ecx
mov eax, esp
and dword [eax], 0
and dword [eax + 4], 0
call fcn.0040b709
pop ecx
pop ecx
mov eax, 0xa5620fee
mov dword [esp + 0x50], 0x9a28d9a9
mov ecx, 0xffb2cff4
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x54], 0x34fcdefe
movaps xmm1, xmmword [esp + 0x50]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0x60], 0xee5bb0c1
mov dword [esp + 0x64], 0x3485ac91
pxor xmm1, xmmword [esp + 0x60]
push eax
movaps xmmword [esp + 0x54], xmm1
call fcn.0040efd9
mov ecx, eax
call fcn.0040b5bd
push 0x104
lea eax, [esp + 0x2cc]
push 0
push eax
call fcn.00438880
add esp, 0xc
lea eax, [esp + 0x2c8]
xor ecx, ecx
push eax
movzx eax, byte [esp + 0x37]
xor eax, 1
push ecx
push ecx
lea eax, [eax*2 + 0x1a]
push eax
push ecx
call dword [0x4d62bc]
lea eax, [ebp + 0xc]
push eax
lea edx, [esp + 0x2cc]
lea ecx, [esp + 0x254]
call fcn.0040ef10
xor eax, eax
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [ecx], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
lea eax, [esp + 0x268]
push eax
call fcn.0040dfa6
push 0
mov dl, 1
lea ecx, [esp + 0xac]
call fcn.0048d94f
mov ecx, dword [esp + 0xb0]
add esp, 0x1c
mov eax, dword [esp + 0x90]
mov dword [esp + 0x14], eax
sub ecx, eax
jne 0x485436
mov al, byte [esp + 0x60]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x6c]
mov byte [esi], al
mov eax, dword [esp + 0x68]
mov dword [esi + 0xc], ecx
lea ecx, [esp + 0x90]
mov dword [esi + 8], eax
mov byte [esp + 0x60], 0
movlpd qword [esp + 0x68], xmm0
call fcn.0040da76
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x485f9f
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push 0x18
pop edi
cmp esi, eax
je 0x4853f6
mov ecx, esi
call fcn.004077ce
add esi, edi
cmp esi, dword [esp + 0x10]
jne 0x4853e3
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
sub eax, esi
mov dword [esp + 0x2c], esi
cdq
idiv edi
imul eax, eax, 0x18
mov dword [esp + 0x28], eax
cmp eax, 0x1000
jb 0x48542a
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.004076c3
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
pop ecx
pop ecx
push eax
push esi
call fcn.0041e009
jmp 0x485f9d
mov eax, ecx
push 0x18
cdq
pop edi
idiv edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x4855c1
mov dword [esp + 0x50], 0xee5bb0c1
mov dword [esp + 0x54], 0x3485ac91
mov dword [esp + 0x58], 0xa5620fee
mov dword [esp + 0x5c], 0xffb2cff4
mov dword [esp + 0x70], 0xee5bb09d
lea eax, [esp + 0x70]
mov dword [esp + 0x74], 0x3485ac91
lea edx, [esp + 0x250]
mov dword [esp + 0x78], 0xa5620fee
lea ecx, [esp + 0x268]
mov dword [esp + 0x7c], 0xffb2cff4
movaps xmm0, xmmword [esp + 0x70]
pxor xmm0, xmmword [esp + 0x50]
push eax
movaps xmmword [esp + 0x74], xmm0
call fcn.0040eea7
sub esp, 0x14
mov ecx, eax
mov esi, esp
push dword [esp + 0x2c]
call fcn.0040c90c
push eax
mov ecx, esi
call fcn.00407752
push 0
xor dl, dl
lea ecx, [esp + 0x5c]
call fcn.0048d94f
add esp, 0x1c
lea ecx, [esp + 0x268]
call fcn.004077ce
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x38], ecx
sub eax, ecx
je 0x4855a9
cdq
idiv edi
mov dword [esp + 0x18], eax
test eax, eax
je 0x4855a9
mov esi, dword [esp + 0x20]
push 0
lea eax, [ebp + 0x24]
push eax
call fcn.0040c81b
cmp eax, 0xffffffff
je 0x485594
mov ecx, dword [esp + 0x1c]
mov eax, esi
sub eax, ecx
and dword [esp + 0x28], 0
cdq
idiv edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], eax
test eax, eax
je 0x48555f
mov edx, dword [esp + 0x14]
call fcn.0040efa8
test al, al
jne 0x485594
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
inc eax
add ecx, edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], ecx
cmp eax, dword [esp + 0x3c]
jb 0x485539
push dword [esp + 0x14]
cmp esi, dword [esp + 0x28]
je 0x485586
xor eax, eax
mov ecx, esi
mov dword [esi], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call fcn.0040dfa6
mov esi, dword [esp + 0x20]
add esi, edi
mov dword [esp + 0x20], esi
jmp 0x485594
push esi
lea ecx, [esp + 0x24]
call fcn.0041030b
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
add ecx, edi
sub dword [esp + 0x18], 1
mov dword [esp + 0x38], ecx
jne 0x48550d
lea ecx, [esp + 0x40]
call fcn.0040da76
add dword [esp + 0x14], edi
sub dword [esp + 0x10], 1
jne 0x48546a
lea ecx, [esp + 0x90]
call fcn.0040da76
mov ecx, dword [esp + 0x20]
mov eax, ecx
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
sub eax, esi
jne 0x485696
push eax
push 0x4ea79e
lea ecx, [esp + 0xa8]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], 0xf
call fcn.00407850
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0xa0]
push ecx
cmp eax, dword [esp + 0x28]
je 0x485633
mov ecx, eax
call fcn.00407752
mov ecx, dword [esp + 0x20]
add ecx, edi
mov dword [esp + 0x20], ecx
jmp 0x485641
push eax
lea ecx, [esp + 0x24]
call fcn.004101c9
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x14], ecx
cmp eax, 0x10
jb 0x485692
mov ecx, dword [esp + 0xa0]
inc eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
cmp eax, 0x1000
jb 0x485681
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004076c3
mov eax, dword [esp + 0x18]
pop ecx
pop ecx
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.0041e009
pop ecx
pop ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
mov esi, dword [esp + 0x1c]
mov eax, ecx
and dword [esp + 0x34], 0
sub eax, esi
cdq
idiv edi
test eax, eax
je 0x485f0e
mov esi, 0xee5bb0c1
mov edx, 0x3485ac91
mov eax, 0xa5620fee
mov dword [esp + 0x1a0], esi
mov ecx, 0xffb2cff4
mov dword [esp + 0x170], esi
mov dword [esp + 0xa0], esi
xor esi, esi
mov dword [esp + 0x1a4], edx
mov dword [esp + 0x1a8], eax
mov dword [esp + 0x1ac], ecx
mov dword [esp + 0x174], edx
mov dword [esp + 0x178], eax
mov dword [esp + 0x17c], ecx
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0x28], esi
jmp 0x48571e
mov esi, dword [esp + 0x28]
push 0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x54], 0
call fcn.0040d72a
sub esp, 0x10
mov ecx, esp
push ecx
push ecx
mov eax, esp
and dword [eax], 0
and dword [eax + 4], 0
call fcn.0040b709
mov eax, dword [esp + 0x34]
pop ecx
pop ecx
add eax, esi
lea ecx, [esp + 0x60]
push eax
call fcn.0040b4c5
mov ecx, eax
call fcn.0040b5bd
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x70]
mov dword [esp + 0x70], 0xee5bb09d
lea ecx, [esp + 0x298]
mov dword [esp + 0x74], 0x3485ac91
mov dword [esp + 0x78], 0xa5620fee
mov dword [esp + 0x7c], 0xffb2cff4
lea edx, [esi + edx]
movaps xmm0, xmmword [esp + 0x70]
pxor xmm0, xmmword [esp + 0x1a0]
or dword [esp + 0x2c], 2
push eax
movaps xmmword [esp + 0x74], xmm0
call fcn.0040eea7
mov dword [esp + 0x44], 0xee5bb09d
lea edx, [esp + 0x254]
mov dword [esp + 0x48], 0x3485ac91
mov esi, eax
mov dword [esp + 0x4c], 0xa5620fee
lea eax, [esp + 0x44]
mov dword [esp + 0x50], 0xffb2cff4
movaps xmm0, xmmword [esp + 0x44]
pxor xmm0, xmmword [esp + 0x174]
pop ecx
push eax
lea ecx, [esp + 0x284]
movaps xmmword [esp + 0x44], xmm0
call fcn.0040eea7
pop ecx
push esi
push eax
push dword [esp + 0x44]
lea ecx, [esp + 0x274]
call fcn.004120e5
cmp dword [ebp + 0x38], 0x10
lea eax, [ebp + 0x24]
push dword [ebp + 0x34]
cmovae eax, dword [ebp + 0x24]
lea ecx, [esp + 0x26c]
push eax
call fcn.0040df4d
push eax
lea ecx, [esp + 0x23c]
call fcn.00407752
lea ecx, [esp + 0x268]
call fcn.004077ce
lea ecx, [esp + 0x280]
call fcn.004077ce
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x298]
and eax, 0xfffffffd
mov dword [esp + 0x2c], eax
call fcn.004077ce
mov eax, dword [esp + 0x2c]
test al, 1
je 0x4858b8
and eax, 0xfffffffe
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c4]
cmp eax, 0x10
jb 0x4858b8
mov ecx, dword [esp + 0x2b0]
inc eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
cmp eax, 0x1000
jb 0x4858af
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004076c3
mov eax, dword [esp + 0x18]
pop ecx
pop ecx
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.0041e009
pop ecx
pop ecx
cmp dword [esp + 0x24c], 0x10
lea ecx, [esp + 0x238]
lea edx, [esp + 0x38]
cmovae ecx, dword [esp + 0x238]
call fcn.004946ab
test eax, eax
jne 0x485e6d
mov dword [esp + 0xf0], 0xab17f592
mov eax, 0xe40530ec
mov dword [esp + 0xf4], 0x41a5f8d2
mov ecx, 0x92a481ca
mov dword [esp + 0xf8], 0x854e639c
mov dword [esp + 0xfc], 0x8bc1ae98
mov dword [esp + 0x100], 0x74606a5c
mov dword [esp + 0x104], 0x23e8ebea
mov dword [esp + 0x108], 0x20dd02c9
mov dword [esp + 0x10c], 0x828ba858
mov dword [esp + 0x110], 0x4590a52d
mov dword [esp + 0x114], 0xffef1060
mov dword [esp + 0x118], 0x8b479257
mov dword [esp + 0x11c], 0x4b6c84f8
mov dword [esp + 0x120], 0x415ee673
mov dword [esp + 0x124], 0x2daea034
mov dword [esp + 0x128], 0x52dd2170
mov dword [esp + 0x12c], 0x1821311e
mov dword [esp + 0x130], 0x2672ac29
mov dword [esp + 0x134], 0x26e39244
mov dword [esp + 0x138], 0x9636777a
mov dword [esp + 0x13c], 0xd09e67fe
mov dword [esp + 0x140], 0xc01f456b
mov dword [esp + 0x144], 0x33e8c092
mov dword [esp + 0x148], 0x6809f5ad
mov dword [esp + 0x14c], 0x49d2157a
mov dword [esp + 0x150], 0xd094ef19
mov dword [esp + 0x154], 0xb0a752ad
mov dword [esp + 0x158], 0xca469ba5
mov dword [esp + 0x15c], 0xc9a688a2
mov dword [esp + 0x160], 0x33e39eef
mov dword [esp + 0x164], 0x71ee1d3e
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ecx
movaps xmm1, xmmword [esp + 0xf0]
mov dword [esp + 0x1b0], 0xee5bb0c1
mov dword [esp + 0x1b4], 0x3485ac91
mov dword [esp + 0x1b8], 0xa5620fee
mov dword [esp + 0x1bc], 0xffb2cff4
pxor xmm1, xmmword [esp + 0x1b0]
movaps xmmword [esp + 0xf0], xmm1
movaps xmm1, xmmword [esp + 0x100]
mov dword [esp + 0x1c0], 0x7091c03
mov dword [esp + 0x1c4], 0x57b79f83
mov dword [esp + 0x1c8], 0xb86fa0
mov dword [esp + 0x1cc], 0xcfc4fa1e
pxor xmm1, xmmword [esp + 0x1c0]
movaps xmmword [esp + 0x100], xmm1
movaps xmm1, xmmword [esp + 0x110]
mov dword [esp + 0x1d0], 0x9d5f605
mov dword [esp + 0x1d4], 0xdfbb5325
mov dword [esp + 0x1d8], 0xa72be022
mov dword [esp + 0x1dc], 0x380de8d8
pxor xmm1, xmmword [esp + 0x1d0]
movaps xmmword [esp + 0x110], xmm1
movaps xmm1, xmmword [esp + 0x120]
mov dword [esp + 0x1e0], 0x2828b907
mov dword [esp + 0x1e4], 0x72dac947
mov dword [esp + 0x1e8], 0x37b04804
mov dword [esp + 0x1ec], 0x7c481132
pxor xmm1, xmmword [esp + 0x1e0]
movaps xmmword [esp + 0x120], xmm1
movaps xmm1, xmmword [esp + 0x130]
mov dword [esp + 0x1f0], 0x6920ea09
mov dword [esp + 0x1f4], 0x5496b209
mov dword [esp + 0x1f8], 0xd9160416
mov dword [esp + 0x1fc], 0x82db23ac
pxor xmm1, xmmword [esp + 0x1f0]
mov dword [esp + 0x200], 0xe046074b
mov dword [esp + 0x204], 0x77c8a4fb
mov dword [esp + 0x208], 0x484aa6e8
mov dword [esp + 0x20c], 0x9f5c36
mov dword [esp + 0x210], 0xe5a6cf4d
mov dword [esp + 0x214], 0x908e629d
mov dword [esp + 0x218], 0x8f02c9ea
mov dword [esp + 0x21c], 0x90e4a8f0
mov dword [esp + 0x220], 0x1387f7cf
mov dword [esp + 0x224], 0x71ad4e7f
mov dword [esp + 0x228], eax
mov dword [esp + 0x22c], ecx
movaps xmmword [esp + 0x130], xmm1
movaps xmm1, xmmword [esp + 0x140]
lea eax, [esp + 0x3c]
pxor xmm1, xmmword [esp + 0x200]
lea edx, [esp + 0xf0]
movaps xmmword [esp + 0x140], xmm1
movaps xmm1, xmmword [esp + 0x150]
pxor xmm1, xmmword [esp + 0x210]
push ecx
movaps xmmword [esp + 0x154], xmm1
movaps xmm1, xmmword [esp + 0x164]
pxor xmm1, xmmword [esp + 0x224]
push eax
push ecx
mov ecx, dword [esp + 0x44]
movaps xmmword [esp + 0x16c], xmm1
call fcn.004d589a
add esp, 0xc
test eax, eax
jne 0x485e64
mov esi, dword [esp + 0x3c]
mov ecx, esi
call 0x4d5af8
cmp eax, 0x64
jne 0x485e5d
mov edi, 0xee5bb0c1
mov edx, 0x3485ac91
mov eax, 0xa5620fee
mov dword [esp + 0x180], edi
mov ecx, 0xffb2cff4
mov dword [esp + 0x190], edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x184], edx
mov dword [esp + 0x188], eax
mov dword [esp + 0x18c], ecx
mov dword [esp + 0x194], edx
mov dword [esp + 0x198], eax
mov dword [esp + 0x19c], ecx
push 0
lea ecx, [esp + 0xec]
mov byte [esp + 0xe4], 0
call fcn.0040d72a
xor edx, edx
mov ecx, esi
call fcn.004d5806
sub esp, 0x10
mov dword [esp + 0x20], eax
mov ecx, esp
lea edx, [esp + 0x20]
xor eax, eax
mov byte [ecx], al
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
call fcn.00418207
mov dword [esp + 0xa0], 0xee37c2b4
lea eax, [esp + 0xa0]
mov dword [esp + 0xa4], 0x3485ac91
lea ecx, [esp + 0xf0]
mov dword [esp + 0xa8], 0xa5620fee
mov dword [esp + 0xac], 0xffb2cff4
movaps xmm0, xmmword [esp + 0xa0]
pxor xmm0, xmmword [esp + 0x190]
push eax
movaps xmmword [esp + 0xa4], xmm0
call fcn.0040efd9
mov ecx, eax
call fcn.0040b5bd
xor edx, edx
mov ecx, esi
inc edx
call fcn.004d5806
push eax
call fcn.00443af4
pop ecx
push 0
push 0xf4240
push edx
push eax
call fcn.0045b250
sub eax, 0xb6109100
mov dword [esp + 0xd0], 0x8b36d9b5
mov dword [esp + 0xd4], 0x3485ac91
sbb edx, 2
mov dword [esp + 0xd8], 0xa5620fee
sub esp, 0x10
mov dword [esp + 0xec], 0xffb2cff4
mov ecx, esp
mov dword [ecx + 8], eax
lea eax, [esp + 0xe0]
mov byte [ecx], 5
mov dword [ecx + 0xc], edx
lea ecx, [esp + 0xf0]
movaps xmm0, xmmword [esp + 0xe0]
pxor xmm0, xmmword [esp + 0x1a0]
push eax
movaps xmmword [esp + 0xe4], xmm0
call fcn.0040efd9
mov ecx, eax
call fcn.0040b5bd
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x50]
add eax, edi
push eax
call fcn.0040b4c5
lea ecx, [esp + 0xe0]
push ecx
mov ecx, eax
call fcn.0040b36f
push dword [esp + 0xe0]
lea ecx, [esp + 0xec]
call fcn.0040d446
mov ecx, esi
call 0x4d5af8
cmp eax, 0x64
je 0x485ce8
push 0x18
pop edi
mov ecx, esi
call fcn.004d5828
mov ecx, dword [esp + 0x38]
call fcn.004945bd
mov dword [esp + 0xc0], 0x9a28d9a9
lea eax, [esp + 0xc0]
mov dword [esp + 0xc4], 0x34fcdefe
lea ecx, [esp + 0x60]
mov dword [esp + 0xc8], 0xa5620fee
mov dword [esp + 0xcc], 0xffb2cff4
movaps xmm0, xmmword [esp + 0xc0]
pxor xmm0, xmmword [esp + 0xa0]
push eax
movaps xmmword [esp + 0xc4], xmm0
call fcn.0040efd9
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
call fcn.0040b36f
lea ecx, [esp + 0x238]
call fcn.004077ce
push dword [esp + 0x50]
lea ecx, [esp + 0x5c]
call fcn.0040d446
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
sub eax, esi
cdq
idiv edi
mov ecx, dword [esp + 0x34]
add dword [esp + 0x28], edi
inc ecx
mov dword [esp + 0x34], ecx
cmp ecx, eax
jb 0x48571a
mov edx, dword [esp + 0x8c]
xorps xmm0, xmm0
mov al, byte [esp + 0x60]
mov ecx, dword [esp + 0x6c]
mov byte [esp + 0x60], 0
mov byte [edx], al
mov eax, dword [esp + 0x68]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
movlpd qword [esp + 0x68], xmm0
test esi, esi
je 0x485f9f
cmp esi, dword [esp + 0x14]
je 0x485f54
mov ecx, esi
call fcn.004077ce
add esi, edi
cmp esi, dword [esp + 0x14]
jne 0x485f41
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
sub eax, esi
mov dword [esp + 0x18], esi
cdq
idiv edi
imul eax, eax, 0x18
mov dword [esp + 0x10], eax
cmp eax, 0x1000
jb 0x485f88
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004076c3
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
pop ecx
pop ecx
push eax
push esi
call fcn.0041e009
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
pop ecx
pop ecx
lea ecx, [esp + 0x250]
call fcn.004077ce
push 0
lea ecx, [esp + 0x6c]
call fcn.0040d446
lea ecx, [ebp + 0xc]
call fcn.004077ce
lea ecx, [ebp + 0x24]
call fcn.004077ce
mov eax, dword [esp + 0x8c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret