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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10010166
push eax
mov dword fs:[0], esp
sub esp, 0x1a4
push ebx
push ebp
push esi
push edi
call fcn.10002d50
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10002225
lea edx, [esp + 0x88]
mov ecx, ebx
mov dword [esp + 0x88], 0x128
call fcn.10002df0
test eax, eax
jne 0x1000223d
mov ecx, ebx
call fcn.100030c0
xor al, al
mov ecx, dword [esp + 0x1b4]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
lea edi, [esp + 0xac]
shr edi, 0x10
mov byte [esp + 0x13], 0
mov dword [esp + 0x54], edi
or ebp, 0xffffffff
mov eax, dword [0x10018098]
mov ecx, 0x10018098
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x1bc], 0
test edi, edi
jne 0x10002298
lea eax, [esp + 0xac]
movzx edi, ax
mov ecx, edi
call fcn.10001130
test eax, eax
je 0x100022c1
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.100027b0
jmp 0x100022bd
lea ecx, [esp + 0xac]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100022a2
sub ecx, edx
push ecx
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x1c]
call fcn.100029f0
mov esi, dword [esp + 0x14]
mov dword [esp + 0x1bc], 1
mov edi, dword [esi - 0xc]
test edi, edi
js 0x10002537
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x100022f6
push edi
lea ecx, [esp + 0x18]
call fcn.10002870
mov esi, dword [esp + 0x14]
lea eax, [edi + 1]
push eax
push esi
call fcn.10004810
push eax
call fcn.10001020
add esp, 0xc
cmp edi, dword [esi - 8]
jg 0x10002537
mov dword [esi - 0xc], edi
mov byte [edi + esi], 0
cmp dword [esi - 4], 1
jle 0x1000232f
push dword [esi - 0xc]
lea ecx, [esp + 0x18]
call fcn.10002620
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.10001410
push dword [esi - 8]
mov edi, eax
push esi
call fcn.10004fb4
add esp, 8
test eax, eax
js 0x10002537
cmp eax, dword [esi - 8]
jg 0x10002537
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
mov dword [esp + 0x58], 0xb02ef94
mov dword [esp + 0x5c], 0x6b68c4c6
mov dword [esp + 0x60], 0x92a2517a
mov dword [esp + 0x64], 0x18aaa971
mov dword [esp + 0x68], 0x97cc3cdb
mov dword [esp + 0x6c], 0x8e9e8add
mov dword [esp + 0x70], 0x6a120622
mov dword [esp + 0x74], 0x923d5594
mov dword [esp + 0x78], 0x8fea93a
mov dword [esp + 0x7c], 0x274bfff4
mov dword [esp + 0x80], 0xa29ab500
mov dword [esp + 0x84], 0xa18a1a81
xor eax, eax
cmp dword [esp + eax*4 + 0x58], edi
je 0x10002485
inc eax
cmp eax, 0xc
jl 0x100023c4
add esi, 0xfffffff0
mov dword [esp + 0x1bc], 0xffffffff
lea eax, [esi + 0xc]
mov ecx, ebp
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100023f8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x24]
push eax
mov word [esp + 0x4e], 0x3373
mov word [esp + 0x4b], 0x6563
mov dword [esp + 0x52], 0x747865
mov word [esp + 0x50], 0x4e32
mov byte [esp + 0x4d], 0x73
mov word [esp + 0x48], 0x7250
mov byte [esp + 0x4a], 0x6f
mov dword [esp + 0x2e], 0x642e3233
mov word [esp + 0x32], 0x6c6c
mov byte [esp + 0x34], 0
mov word [esp + 0x29], 0x7265
mov word [esp + 0x2c], 0x6c65
mov byte [esp + 0x28], 0x4b
mov byte [esp + 0x2b], 0x6e
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [esp + 0x44]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100024ac
lea ecx, [esp + 0x88]
push ecx
push ebx
call eax
test eax, eax
je 0x100024ac
mov edi, dword [esp + 0x54]
jmp 0x10002253
add esi, 0xfffffff0
mov byte [esp + 0x13], 1
mov dword [esp + 0x1bc], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ebp
dec ebp
test ebp, ebp
jg 0x100024ac
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x34]
push eax
mov word [esp + 0x1f], 0x6573
mov dword [esp + 0x22], 0x6c646e61
mov word [esp + 0x26], 0x65
mov word [esp + 0x1c], 0x6c43
mov byte [esp + 0x21], 0x48
mov byte [esp + 0x1e], 0x6f
mov dword [esp + 0x3e], 0x642e3233
mov word [esp + 0x42], 0x6c6c
mov byte [esp + 0x44], 0
mov word [esp + 0x39], 0x7265
mov word [esp + 0x3c], 0x6c65
mov byte [esp + 0x38], 0x4b
mov byte [esp + 0x3b], 0x6e
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000251d
push ebx
call eax
mov ecx, dword [esp + 0x1b4]
mov al, byte [esp + 0x13]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.10001000
int3