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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x198
mov eax, dword [0x100a9040]
xor eax, esp
mov dword [esp + 0x194], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x6c], eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0x2c], 3
mov esi, edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x40], esi
mov edx, 1
push 0xcf1bbcdc
mov eax, dword [edi + 0x5c]
mov ecx, dword [edi + 4]
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x38], eax
lea eax, [edi + 0x2c]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0x24]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x68], eax
add eax, ecx
mov dword [esp + 0x80], eax
mov eax, esi
sub eax, ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [edi + 0xb8]
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x1c]
shl edx, cl
mov ecx, dword [edi + 0x10]
sub esi, edx
sub eax, ecx
cmp eax, edx
mov eax, esi
mov esi, dword [esp + 0x44]
mov edx, dword [edi + 0x54]
cmovbe eax, ecx
cmp dword [edi + 0x18], 0
push 0xbf9b0000
push dword [esi + 4]
cmovne eax, ecx
mov dword [esp + 0x48], edx
push dword [esi]
mov dword [esp + 0x20], eax
mov ecx, 6
mov eax, dword [edi + 0xc4]
cmp eax, ecx
mov dword [esp + 0x94], edx
cmovb ecx, eax
mov eax, dword [edi + 0x50]
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], eax
mov eax, 1
shl eax, cl
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0xb4]
mov dword [esp + 0x5c], eax
call fcn.10071fd0
mov esi, dword [esp + 0x4c]
mov ecx, 0x42
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
sub ecx, dword [esi + 0xc0]
call fcn.100950f0
mov ecx, dword [edi + 0xc4]
shl eax, 2
mov dword [esp + 0x60], eax
cmp ecx, 6
jbe 0x1003082d
add ecx, 0xfffffffa
mov eax, 1
shl eax, cl
mov dword [esp + 0x5c], eax
jmp 0x10030835
mov dword [esp + 0x5c], 0
cmp dword [edi + 0xdc], 0
mov esi, dword [esp + 0x40]
mov dword [esp + 0x54], 0x3f
jne 0x10030ae2
mov edi, dword [edi + 0x1c]
mov ecx, 0x38
mov eax, dword [esp + 0x18]
sub eax, edi
mov dword [esp + 0x1c], edi
cmp eax, 0x180
jbe 0x100309dc
lea eax, [edi + 0x60]
mov dword [esp + 0x14], eax
cmp edi, eax
jae 0x10030924
mov eax, dword [esp + 0x44]
mov edi, ecx
sub edi, dword [esp + 0x20]
add eax, 8
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x38], edi
mov dword [esp + 0x68], eax
nop dword [eax]
nop word [eax + eax]
push 0xcf1bbcdc
push 0xbf9b0000
push dword [esi + eax + 4]
push dword [esi + eax]
call fcn.10071fd0
mov ecx, dword [esp + 0x28]
xor eax, dword [ecx + 0x50]
xor edx, dword [ecx + 0x54]
mov ecx, edi
call fcn.100950f0
mov edi, dword [esp + 0x50]
mov ecx, esi
and ecx, 7
mov edx, dword [edi + ecx*4]
mov dword [edi + ecx*4], eax
mov edi, edx
shr edi, 2
mov eax, 0
and edi, 0x3fffffc0
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x34]
add edx, edi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, dword [esp + 0x54]
add ecx, eax
mov eax, dword [esp + 0x24]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + edi]
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x38]
mov dword [ecx + eax*4], esi
inc esi
mov eax, dword [esp + 0x68]
cmp esi, dword [esp + 0x14]
jb 0x100308a0
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x28]
lea ecx, [esi + 1]
mov edi, dword [esp + 0x18]
add edi, 0xffffffe0
mov dword [esp + 0x1c], edi
mov eax, dword [edx + 0x24]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
add eax, edi
mov dword [esp + 0x14], edi
cmp eax, ecx
mov eax, dword [esp + 0x44]
jbe 0x10030953
xor ecx, ecx
jmp 0x10030958
sub ecx, eax
sub ecx, edi
inc ecx
cmp ecx, 8
mov dword [esp + 0x68], 8
cmova ecx, dword [esp + 0x68]
add ecx, edi
mov dword [esp + 0x68], ecx
cmp edi, ecx
mov ecx, 0x38
jae 0x100309e0
sub ecx, dword [esp + 0x38]
mov esi, edx
mov edi, dword [esp + 0x68]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
nop dword [eax]
push 0xcf1bbcdc
push 0xbf9b0000
push dword [edx + eax + 4]
push dword [edx + eax]
call fcn.10071fd0
xor eax, dword [esi + 0x50]
xor edx, dword [esi + 0x54]
mov ecx, dword [esp + 0x38]
call fcn.100950f0
mov edx, dword [esp + 0x14]
mov ecx, edx
and ecx, 7
inc edx
mov dword [esp + 0x14], edx
mov dword [esi + ecx*4 + 0x2c], eax
mov eax, dword [esp + 0x44]
cmp edx, edi
jb 0x10030990
mov esi, dword [esp + 0x40]
mov ecx, 0x38
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x5c]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x28]
mov dword [esp + 0x38], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x18]
cmp edi, eax
jae 0x10030a9f
mov esi, dword [esp + 0x1c]
mov edi, ecx
sub edi, dword [edx + 0x24]
mov dword [esp + 0x80], edi
mov eax, dword [esp + 0x68]
push 0xcf1bbcdc
push 0xbf9b0000
push dword [esi + eax + 0xc]
push dword [esi + eax + 8]
call fcn.10071fd0
mov ecx, dword [esp + 0x28]
xor eax, dword [ecx + 0x50]
xor edx, dword [ecx + 0x54]
mov ecx, edi
call fcn.100950f0
mov edi, dword [esp + 0x50]
mov ecx, esi
and ecx, 7
mov edx, dword [edi + ecx*4]
mov dword [edi + ecx*4], eax
mov edi, edx
shr edi, 2
mov eax, 0
and edi, 0x3fffffc0
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x38]
add edx, edi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, dword [esp + 0x54]
add ecx, eax
mov eax, dword [esp + 0x24]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + edi]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x80]
mov dword [ecx + eax*4], esi
inc esi
mov eax, dword [esp + 0x18]
cmp esi, eax
jb 0x10030a11
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x28]
push 0xcf1bbcdc
push 0xbf9b0000
mov dword [edi + 0x1c], eax
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.10071fd0
xor eax, dword [esp + 0x78]
mov ecx, 0x38
xor edx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x20]
call fcn.100950f0
mov ecx, dword [esp + 0x18]
and ecx, 7
mov edx, dword [edi + ecx*4 + 0x2c]
mov dword [edi + ecx*4 + 0x2c], eax
jmp 0x10030b10
movq xmm0, qword [esp + 0x68]
mov eax, 0x38
sub eax, dword [esp + 0x20]
movq xmm1, qword [esp + 0x80]
xorps xmm1, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x18]
psrlq xmm1, xmm0
mov dword [edi + 0x1c], eax
movd edx, xmm1
add dword [edi + 0x58], edx
mov eax, edx
shr eax, 2
and eax, 0x3fffffc0
movzx ecx, dl
mov edx, dword [esp + 0x34]
mov dword [esp + 0x50], ecx
add edx, eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x78], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
lea ecx, [ecx + eax*4]
movzx eax, byte [edx]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x50]
movsx eax, al
mov dword [esp + 0x20], ecx
xor ecx, ecx
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
movups xmm0, xmmword [edx]
lea edx, [edx + 0x10]
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
mov dword [esp + ecx*4 + 0x80], eax
inc ecx
cmp ecx, 4
jl 0x10030b75
mov eax, dword [esp + 0x8c]
cdq
mov ecx, eax
mov edi, edx
mov eax, dword [esp + 0x88]
shld edi, ecx, 0x10
cdq
shl ecx, 0x10
or edi, edx
or ecx, eax
mov eax, dword [esp + 0x84]
shld edi, ecx, 0x10
cdq
shl ecx, 0x10
or edi, edx
or ecx, eax
mov eax, dword [esp + 0x80]
shld edi, ecx, 0x10
cdq
or edi, edx
shl ecx, 0x10
or ecx, eax
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
and edi, 0x3f
mov dword [esp + 0x34], ecx
mov ecx, edi
mov eax, dword [esp + 0x34]
neg ecx
and ecx, 0x3f
call fcn.100950d0
mov dword [esp + 0x3c], eax
mov ecx, edi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x58]
call fcn.100950f0
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
or edi, eax
or ecx, edx
mov dword [esp + 0x14], ecx
ja 0x10030c25
test edi, edi
je 0x10030c82
xor esi, esi
cmp dword [esp + 0x30], 0
jbe 0x10030c7a
push ecx
push edi
call fcn.100218d0
add eax, dword [esp + 0x5c]
add esp, 8
and eax, 0x3f
je 0x10030c5a
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + eax*4]
cmp eax, dword [esp + 0x10]
jb 0x10030c7a
mov dword [esp + esi*4 + 0x98], eax
inc esi
dec dword [esp + 0x30]
mov edx, dword [esp + 0x14]
mov ecx, edi
add ecx, 0xffffffff
adc edx, 0xffffffff
and edi, ecx
mov ecx, dword [esp + 0x14]
and ecx, edx
mov dword [esp + 0x14], ecx
ja 0x10030c27
jb 0x10030c7a
test edi, edi
jne 0x10030c27
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x78]
mov edi, 0x3f
mov eax, 0
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, edi
mov edi, dword [esp + 0x20]
add ecx, eax
mov eax, dword [esp + 0x50]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x1c]
mov dword [edi + ecx*4], eax
inc dword [edx + 0x1c]
cmp dword [esp + 0x1c], 0
jbe 0x10030d2d
mov ecx, dword [esp + 0x1c]
mov edi, 3
xor eax, eax
nop dword [eax + eax]
mov eax, dword [esp + eax*4 + 0x98]
mov edx, dword [esp + 0x44]
add edx, eax
mov dword [esp + 0x3c], eax
mov eax, dword [edx + edi - 3]
cmp eax, dword [edi + esi - 3]
jne 0x10030d1c
push dword [esp + 0x48]
mov ecx, esi
call fcn.1001b5f0
add esp, 4
cmp eax, edi
jbe 0x10030d18
mov ecx, dword [esp + 0x18]
mov edi, eax
sub ecx, dword [esp + 0x3c]
add eax, esi
mov edx, dword [esp + 0x74]
add ecx, 3
mov dword [edx], ecx
cmp eax, dword [esp + 0x48]
je 0x10030d29
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
cmp eax, ecx
jb 0x10030cd0
mov dword [esp + 0x2c], edi
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x5c]
add edx, dword [esp + 0x30]
mov dword [esp + 0x30], edx
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [esp + 0x5c], eax
sub eax, ecx
add eax, dword [esp + 0x64]
mov dword [esp + 0x34], eax
mov eax, 3
cmp edx, eax
mov dword [esp + 0x24], ecx
cmovb eax, edx
xor ecx, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], ecx
test eax, eax
je 0x10030e12
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0x2c]
lea ecx, [eax*4]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x5c]
mov eax, dword [eax + 0x5c]
mov eax, dword [ecx + eax]
add edx, eax
mov dword [esp + 0x64], eax
test eax, eax
je 0x10030eda
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x10030df2
push dword [esp + 0x7c]
add edx, 4
lea ecx, [esi + 4]
push dword [esp + 0x28]
push dword [esp + 0x50]
call fcn.1001b670
add esp, 0xc
lea ecx, [eax + 4]
cmp ecx, edi
jbe 0x10030dee
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x64]
sub eax, dword [esp + 0x34]
mov edx, dword [esp + 0x74]
add eax, 3
mov dword [esp + 0x2c], ecx
mov dword [edx], eax
lea eax, [ecx + esi]
cmp eax, dword [esp + 0x48]
je 0x10030ef0
mov edi, ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
add ecx, 4
inc eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x3c]
jb 0x10030d83
mov edx, dword [esp + 0x30]
mov ecx, eax
mov eax, dword [esp + 0x4c]
sub edx, ecx
mov edi, dword [esp + 0x60]
mov dword [esp + 0x60], 0
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + edi*4 + 0xc]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
shr dword [esp + 0x10], 8
movzx eax, al
cmp edx, eax
cmova edx, eax
mov dword [esp + 0x30], edx
test edx, edx
je 0x10030eda
mov eax, dword [esp + 0x10]
lea ecx, [eax*4]
mov dword [esp + 0x10], ecx
nop dword [eax + eax]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x5c]
mov eax, dword [eax + 0x64]
mov eax, dword [ecx + eax]
add edx, eax
mov dword [esp + 0x64], eax
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x10030ec4
push dword [esp + 0x7c]
add edx, 4
lea ecx, [esi + 4]
push dword [esp + 0x28]
push dword [esp + 0x50]
call fcn.1001b670
add eax, 4
add esp, 0xc
cmp eax, edi
jbe 0x10030ec0
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x64]
sub ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x74]
add ecx, 3
mov dword [esp + 0x2c], eax
add eax, esi
mov edi, dword [esp + 0x2c]
mov dword [edx], ecx
cmp eax, dword [esp + 0x48]
je 0x10030eda
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x60]
add ecx, 4
inc eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x60], eax
cmp eax, dword [esp + 0x30]
jb 0x10030e60
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.1007143a
mov esp, ebp
pop ebp
ret
mov eax, ecx
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
xor ecx, esp
call fcn.1007143a
mov esp, ebp
pop ebp
ret