Function at 0x1003a970
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10043f18
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x10051018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebx]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test edi, edi
je 0x1003a9bb
push 4
push edi
call esi
test eax, eax
jne 0x1003a9bb
push eax
mov ecx, edi
call dword [0x10049fdc]
mov cl, 0xf
mov dword [ebp - 0x3c], 0x7b614a0f
mov dword [ebp - 0x38], 0x5b2f7d6a
xor eax, eax
mov dword [ebp - 0x34], 0x462f686e
mov word [ebp - 0x30], 0x4b
nop word [eax + eax]
xor byte [ebp + eax - 0x3b], cl
inc eax
cmp eax, 0xc
jae 0x1003a9ef
mov cl, byte [ebp - 0x3c]
jmp 0x1003a9e0
cmp byte [ebp - 0x3b], 0
mov byte [ebp - 0x2f], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jne 0x1003aa0f
xor ecx, ecx
jmp 0x1003aa1e
lea ecx, [ebp - 0x3b]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003aa15
sub ecx, edx
push ecx
lea eax, [ebp - 0x3b]
push eax
lea ecx, [ebp - 0x28]
call fcn.10004ea0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2b]
push 0
mov word [ebp - 0x2c], 0x4f
lea ecx, [ebp - 0x54]
push eax
mov byte [ebp - 0x2b], 0
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
call fcn.10004ea0
mov byte [ebp - 4], 1
mov edi, dword [ebx + 8]
test edi, edi
je 0x1003aa7c
push 4
push edi
call esi
test eax, eax
jne 0x1003aa7c
lea eax, [ebp - 0x54]
mov ecx, edi
push eax
call dword [0x10049ff8]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x1003aa92
inc eax
push eax
push dword [ebp - 0x54]
call fcn.10005610
mov edi, dword [ebx + 8]
test edi, edi
je 0x1003aacc
push 4
push edi
call esi
test eax, eax
jne 0x1003aacc
push 4
add edi, 0x10c
push edi
call esi
test eax, eax
jne 0x1003aacc
mov eax, dword [edi]
test eax, eax
je 0x1003aacc
lea edi, [eax + 0x130]
push 4
push edi
call esi
test eax, eax
jne 0x1003aacc
mov dword [edi], 0xffffffff
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov dword [ebp - 0x40], 0xf
cmovae edx, dword [ebp - 0x28]
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
cmp byte [edx], 0
jne 0x1003aaf2
xor ecx, ecx
jmp 0x1003ab00
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003aaf7
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.10004ea0
mov byte [ebp - 4], 2
mov edi, dword [ebx + 8]
test edi, edi
je 0x1003ab2a
push 4
push edi
call esi
test eax, eax
jne 0x1003ab2a
lea eax, [ebp - 0x54]
mov ecx, edi
push eax
call dword [0x1004a03c]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x1003ab40
inc eax
push eax
push dword [ebp - 0x54]
call fcn.10005610
mov edi, dword [ebx + 8]
test edi, edi
je 0x1003ab58
push 4
push edi
call esi
test eax, eax
jne 0x1003ab58
mov ecx, edi
call dword [0x1004a000]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1003ab6a
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10005610
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100404d0
mov esp, ebp
pop ebp
ret