Function at 0x10031d10
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x1008b040]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov edi, dword [0x10116ebc]
mov dword [esp + 0x30], edi
mov eax, dword [edi + 0x3dcc]
cmp eax, dword [edi + 0x3dc8]
je 0x10031d44
call fcn.100319f0
mov eax, dword [edi + 0x3dd0]
mov edx, 4
mov dword [esp + 0x2c], eax
mov ecx, edi
mov eax, dword [edi + 0x3dc8]
mov dword [esp + 0x1c], eax
mov dword [edi + 0x3dd0], eax
mov dword [edi + 0xa8], 0
call fcn.1002e030
xor ecx, ecx
mov dword [esp + 0x28], ecx
cmp dword [edi + 0x4788], ecx
je 0x10031e7c
nop word [eax + eax]
mov eax, dword [edi + 0x4790]
mov ebx, 2
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x20], eax
lea esi, [eax + 0x64]
push 0
mov ecx, esi
call fcn.100423a0
add esi, 0xc
sub ebx, 1
jne 0x10031da5
mov esi, dword [esp + 0x20]
cmp dword [esi + 0x30], ebx
je 0x10031e67
mov cl, 3
mov dword [esp + 0xc], 0x41202003
mov dword [esp + 0x10], 0x64686062
xor eax, eax
mov dword [esp + 0x14], 0x6d766c71
mov word [esp + 0x18], 0x67
xor byte [esp + eax + 0xd], cl
inc eax
cmp eax, 0xc
jae 0x10031df6
mov cl, byte [esp + 0xc]
jmp 0x10031de6
lea eax, [esp + 0xd]
mov byte [esp + 0x19], 0
push eax
xor edx, edx
mov ecx, esi
call fcn.1002e080
add esp, 4
mov dword [esp + 0x20], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x10031e67
cmp ecx, 1
jne 0x10031e2a
mov eax, dword [eax + 8]
cmp dword [eax + 0x1c], 0
jne 0x10031e2a
cmp dword [eax + 0x20], 0
je 0x10031e67
mov ecx, dword [esi + 0x64]
lea ebx, [esi + 0x64]
mov esi, dword [ebx + 4]
cmp ecx, esi
jne 0x10031e59
inc ecx
test esi, esi
je 0x10031e47
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x10031e4c
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, ebx
call fcn.10042100
mov ecx, dword [ebx]
mov eax, dword [ebx + 8]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], edx
inc dword [ebx]
mov ecx, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x28], ecx
cmp ecx, dword [edi + 0x4788]
jne 0x10031d90
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x1c]
je 0x10031e8b
call fcn.100313d0
mov eax, dword [edi + 0x48ec]
test eax, eax
je 0x10031eb0
test dword [eax + 8], 0x2000
jne 0x10031eb0
mov ebx, dword [eax + 0x2e4]
mov eax, dword [edi + 0x48f4]
mov dword [esp + 0x20], ebx
jmp 0x10031ec4
xor ebx, ebx
mov dword [esp + 0x20], ebx
test eax, eax
je 0x10031ec2
mov eax, dword [edi + 0x48f4]
jmp 0x10031ec4
xor eax, eax
xor esi, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
cmp dword [edi + 0x3de0], esi
je 0x10031f24
nop word [eax + eax]
mov eax, dword [edi + 0x3de8]
mov ecx, dword [eax + esi*4]
cmp byte [ecx + 0x8e], 0
je 0x10031f1b
cmp byte [ecx + 0x95], 0
jne 0x10031f1b
mov edx, dword [ecx + 8]
test edx, 0x1000000
jne 0x10031f1b
cmp ecx, ebx
je 0x10031f1b
cmp ecx, dword [esp + 0x28]
je 0x10031f1b
shr edx, 0x19
and edx, 1
call fcn.10031090
inc esi
cmp esi, dword [edi + 0x3de0]
jne 0x10031ee0
xor esi, esi
mov ecx, dword [esp + esi*4 + 0x20]
test ecx, ecx
je 0x10031f4e
cmp byte [ecx + 0x8e], 0
je 0x10031f4e
cmp byte [ecx + 0x95], 0
jne 0x10031f4e
mov edx, dword [ecx + 8]
shr edx, 0x19
and edx, 1
call fcn.10031090
inc esi
cmp esi, 2
jl 0x10031f26
cmp byte [edi + 0x60], 0
je 0x10031f8e
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x1c]
je 0x10031f8e
mov ecx, dword [edi + 0x4918]
cmp ecx, 0xffffffff
je 0x10031f8e
push dword [edi + 0xdbc]
movss xmm0, dword [edi + 0x3850]
push dword [edi + 0xdb8]
sub esp, 8
call fcn.1002ce00
add esp, 0x10
xor ecx, ecx
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa0], 0
mov dword [esp + 0x2c], ecx
cmp dword [edi + 0x4788], ecx
jle 0x10032190
mov eax, dword [edi + 0x4790]
mov esi, dword [eax + ecx*4]
mov ecx, dword [esi + 0x64]
mov eax, dword [esi + 0x70]
add eax, ecx
mov dword [esp + 0x20], ecx
push eax
lea ecx, [esi + 0x64]
call fcn.100423a0
mov eax, dword [esi + 0x70]
test eax, eax
je 0x10031ffd
mov ecx, dword [esp + 0x20]
shl eax, 2
push eax
mov eax, dword [esi + 0x6c]
push dword [esi + 0x78]
lea eax, [eax + ecx*4]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea ecx, [esi + 0x70]
push 0
call fcn.100423a0
cmp dword [esi + 0x34], 0
je 0x100320bc
mov cl, 0x33
mov dword [esp + 0xc], 0x75101033
mov dword [esp + 0x10], 0x5456415c
xor eax, eax
mov dword [esp + 0x14], 0x5d465c41
mov word [esp + 0x18], 0x57
nop word [eax + eax]
xor byte [esp + eax + 0xd], cl
inc eax
cmp eax, 0xc
jae 0x10032040
mov cl, byte [esp + 0xc]
jmp 0x10032030
lea eax, [esp + 0xd]
mov byte [esp + 0x19], 0
push eax
mov edx, 1
mov ecx, esi
call fcn.1002e080
add esp, 4
mov dword [esp + 0x1c], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x100320bc
cmp ecx, 1
jne 0x10032077
mov eax, dword [eax + 8]
cmp dword [eax + 0x1c], 0
jne 0x10032077
cmp dword [eax + 0x20], 0
je 0x100320bc
mov edx, dword [esi + 0x64]
mov ecx, dword [esi + 0x68]
cmp edx, ecx
jne 0x100320ac
inc edx
mov dword [esp + 0x20], edx
test ecx, ecx
je 0x10032099
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add eax, ecx
jmp 0x1003209e
mov eax, 8
cmp eax, edx
lea ecx, [esi + 0x64]
cmovg edx, eax
push edx
call fcn.10042100
mov ecx, dword [esi + 0x64]
mov eax, dword [esi + 0x6c]
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], edx
inc dword [esi + 0x64]
mov edx, dword [0x10116ebc]
mov byte [esi + 0x38], 1
cmp dword [esi + 0x64], 0
jle 0x100320d1
mov eax, dword [esi + 0x6c]
jmp 0x100320d3
xor eax, eax
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x64]
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], ecx
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], ecx
mov eax, dword [edx + 0x58]
mov ecx, dword [edx + 0x5c]
mov dword [esi + 0x5c], eax
xor eax, eax
mov dword [esi + 0x60], ecx
xor ecx, ecx
mov dword [esp + 0x1c], ecx
cmp dword [esi + 0x64], eax
jle 0x1003216c
nop dword [eax + eax]
mov eax, dword [esi + 0x6c]
mov edx, dword [eax + ecx*4]
mov eax, dword [edx]
test eax, eax
je 0x10032143
mov edi, dword [edx + 8]
lea ecx, [eax + eax*4]
cmp dword [edi + ecx*8 - 0xc], 0
jne 0x10032143
cmp dword [edi + ecx*8 - 8], 0
jne 0x10032143
dec eax
mov dword [edx], eax
mov eax, dword [esi + 0x44]
add eax, dword [edx + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x44], eax
inc ecx
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0xc]
add dword [esi + 0x40], eax
mov dword [esp + 0x1c], ecx
cmp ecx, dword [esi + 0x64]
jl 0x10032120
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
add dword [edi + 0xa0], eax
inc ecx
mov eax, dword [esi + 0x40]
add dword [edi + 0xa4], eax
mov dword [esp + 0x2c], ecx
cmp ecx, dword [edi + 0x4788]
jl 0x10031fb4
xor esi, esi
cmp dword [edi + 0x5a0c], esi
jle 0x100321c4
xor ebx, ebx
nop dword [eax]
mov eax, dword [edi + 0x5a14]
add eax, ebx
cmp dword [eax + 4], 5
jne 0x100321b8
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
add esp, 8
inc esi
add ebx, 0x14
cmp esi, dword [edi + 0x5a0c]
jl 0x100321a0
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1007e2f7
mov esp, ebp
pop ebp
ret