Function at 0x10021bbe
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10059770
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
cmp byte [ebp + 0x10], 0
push ebx
push esi
push edi
mov dword [esp + 0x24], ecx
je 0x10022477
mov dword [esp + 0xc], 0xa362
or eax, 0xffffffff
mov dword [esp + 0x6c], eax
xor ecx, ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x74], eax
mov dword [esp + 0xc], ecx
jmp 0x10021c3f
mov dword [esp + 0x18], 0xda62
mov dword [esp + 0x14], 0xfffffff9
mov eax, dword [esp + 0x18]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x14], eax
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 9
jg 0x10021c1b
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
push ecx
push ecx
mov dword [esp + 0x124], ecx
call fcn.10022c63
mov ebx, dword [ebp + 8]
pop ecx
pop ecx
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x18], 0x44e1
cmp dword [esp + 0x18], 0x46f7
mov dword [esp + 0x20], eax
jle 0x10021cca
xor esi, esi
xor edi, edi
mov ecx, edi
mov eax, esi
sar eax, cl
lea ecx, [esp + 0xe0]
cdq
push edx
push eax
call fcn.10001a55
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10021ca1
mov eax, dword [eax]
push eax
call fcn.10040afc
pop ecx
push 0
push 1
lea ecx, [esp + 0xe8]
call fcn.1000b217
inc edi
cmp edi, 0x3bbe
jl 0x10021c82
inc esi
cmp esi, 0x2cf7
jl 0x10021c80
cmp dword [esp + 0x18], 0x4280
jge 0x10021cdf
push str.ruiyjor_tqa_lhmojplmz_libwxas_ngihft
call fcn.10040afc
pop ecx
and dword [esp + 0x11c], 0
mov dword [esp + 0xc], 0
jmp 0x10021d01
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x28], 0xfffffffc
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 1
jl 0x10021cf1
mov dword [esp + 0x1c], 0x3b74
cmp dword [esp + 0x1c], 0x3dcd
jle 0x10021d97
push 0
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
xor edx, edx
mov dword [esp + 0xc], edx
xor ebx, ebx
xor esi, esi
xor edi, edi
mov ecx, edi
mov eax, esi
sar eax, cl
lea ecx, [esp + 0xf8]
and eax, ebx
and eax, edx
cdq
push edx
push eax
call fcn.10001a55
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10021d51
mov eax, dword [eax]
push eax
call fcn.10040afc
pop ecx
push 0
push 1
lea ecx, [esp + 0x100]
call fcn.1000b217
mov edx, dword [esp + 0xc]
inc edi
cmp edi, 0x1a4b
jl 0x10021d2e
inc esi
cmp esi, 0x13f9
jl 0x10021d2c
inc ebx
cmp ebx, 0x554
jl 0x10021d2a
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0x18f1
jl 0x10021d28
mov ebx, dword [ebp + 8]
mov dword [esp + 0x28], 0
jmp 0x10021e5c
mov dword [esp + 0x14], 0
lea ecx, [esp + 0xa8]
push 4
call fcn.1000adae
push 0x33a5
xor eax, eax
mov dword [esp + 0x1c], 0
inc eax
lea edx, [esp + 0xac]
push eax
push 0x2747
push eax
push 0
mov dword [esp + 0x2c], eax
mov ecx, 0x25a0
push 0x5065
lea eax, [esp + 0xec]
push 0x7c0d
push eax
call fcn.10020a94
add esp, 0x20
cmp dword [esp + 0x28], 0
jne 0x10021e3d
mov eax, dword [esp + 0x14]
xor edx, edx
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp ecx, eax
setg dl
xor eax, eax
test edx, edx
setle al
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
neg eax
cmp eax, 0xfffffffa
jne 0x10021e3d
xor ecx, ecx
jmp 0x10021e40
xor ecx, ecx
inc ecx
xor eax, eax
cmp ecx, 0xffffffff
lea ecx, [esp + 0xa8]
setle al
mov dword [esp + 0x18], eax
call fcn.1000ae31
dec dword [esp + 0x28]
cmp dword [esp + 0x28], 0xffffffe9
jne 0x10021da4
cmp dword [esp + 0x1c], 0x3a62
jge 0x10021e7c
push str.ttv_upxqxff_srlteij_ihvoqr_spearh_urpk_ftt_gztapbrxv_kqohbov_lhoxvf_ywutmsrr
call fcn.10040afc
pop ecx
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0xc8]
and dword [esp + 0x11c], 0
push 2
mov eax, dword [esi + 0x10]
mov dword [esp + 0x20], eax
call fcn.1000adae
push ecx
push ecx
mov byte [esp + 0x124], 5
lea edx, [esp + 0xcc]
mov dword [esp + 0x1c], 0x9bdba76a
lea ecx, [esp + 0xd0]
call fcn.10020794
pop ecx
pop ecx
xor ecx, ecx
inc ecx
mov dword [esp + 0x14], ecx
js 0x10021f2a
mov dword [esp + 0xc], 0
jmp 0x10021ee7
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x38], 0x7a888ada
inc dword [esp + 0xc]
cmp dword [esp + 0xc], ecx
jl 0x10021ed7
mov dword [esp + 0x38], 0
jmp 0x10021f1e
push 0
push 0
push 0x4e1a
push 0x45fc
mov edx, 0x2f83
mov ecx, 0x2af6
call fcn.10021bbe
add esp, 0x10
xor ecx, ecx
inc dword [esp + 0x38]
inc ecx
cmp dword [esp + 0x38], ecx
jle 0x10021ef7
dec dword [esp + 0x14]
jns 0x10021ecd
lea ecx, [esp + 0xc8]
mov byte [esp + 0x11c], 0
call fcn.1000ae31
cmp dword [ebx + 0x14], 8
jb 0x10021f48
mov eax, dword [ebx]
jmp 0x10021f4a
mov eax, ebx
push dword [ebx + 0x10]
mov ecx, esi
push 0
push eax
call fcn.100237e8
mov esi, eax
xor edi, edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], edi
cmp edi, dword [esp + 0x1c]
jae 0x1002245f
call fcn.1001fdc6
cmp esi, 0xffffffff
je 0x10022195
cmp esi, edi
je 0x1002215d
mov dword [esp + 0x10], 0
lea ecx, [esp + 0xb4]
mov dword [esp + 0x18], 0x751c
mov dword [esp + 0x44], 0xfffffffc
mov dword [esp + 0x3c], 0x2f63069b
push 2
call fcn.1000adae
mov byte [esp + 0x11c], 6
mov dword [esp + 0xc], 0
jmp 0x10021fd9
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xb4]
mov dword [eax + ecx*4], 0x84cb
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 2
jl 0x10021fc3
mov dword [esp + 0x10], 0xfffffff3
jmp 0x1002211b
mov dword [esp + 0x2c], 0xcde6bc04
mov dword [esp + 0x14], 0xd5269945
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
add eax, 0x504d
cmp dword [esp + 0x18], eax
je 0x1002208b
cmp dword [esp + 0x3c], 0
je 0x1002208b
push 0x566
push 0x68e0
push 0x4344
xor ecx, ecx
lea eax, [esp + 0x48]
inc ecx
mov edx, 0xd2c
push ecx
push 0x4f6b
push eax
push 0x195a
lea eax, [esp + 0x48]
mov dword [esp + 0x80], ecx
push eax
push 0x7606
lea eax, [esp + 0x88]
push eax
push 0x3ec3
push ecx
push 0x1ec1
lea ecx, [esp + 0x78]
call fcn.1001f199
add esp, 0x34
jmp 0x10022117
mov dword [esp + 0x14], 0xa5798870
mov dword [esp + 0xc], 0
jmp 0x100220b0
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x8c], 0xc027682c
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 3
jl 0x1002209d
mov eax, dword [esp + 0x90]
cmp dword [esp + 0x2c], eax
jne 0x100220fb
mov ecx, dword [esp + 0x2c]
neg ecx
sbb ecx, ecx
xor eax, eax
neg ecx
cmp ecx, 0x3adfe1d
setge al
add eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x3c], 3
sbb eax, eax
neg eax
cmp eax, dword [esp + 0x2c]
je 0x100220f7
mov eax, dword [esp + 0x90]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x94]
xor edx, edx
mov eax, dword [esp + 0x18]
add ecx, 0xfff9
cmp ecx, eax
setne dl
mov dword [esp + 0x14], edx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0xd
jge 0x10021fed
lea ecx, [esp + 0xb4]
mov byte [esp + 0x11c], 0
call fcn.1000ae31
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x5c]
push eax
push ecx
push dword [esp + 0x30]
lea eax, [esp + 0x58]
push eax
push ecx
mov cl, 1
call fcn.1001f4fb
mov esi, dword [esp + 0x64]
add esp, 0x18
mov edi, dword [esp + 0x20]
add edi, esi
cmp dword [ebx + 0x14], 8
mov dword [esp + 0x48], edi
jb 0x10022171
mov eax, dword [ebx]
jmp 0x10022173
mov eax, ebx
push dword [ebx + 0x10]
mov ecx, dword [esp + 0x28]
push edi
push eax
call fcn.100237e8
mov esi, eax
mov dword [esp + 0x4c], esi
cmp edi, 0xffffffff
jne 0x10021f63
jmp 0x1002245f
mov dword [esp + 0x14], 0xffffffff
xor ebx, ebx
mov dword [esp + 0x68], 1
mov dword [esp + 0x40], 0xf8f6a1c3
mov dword [esp + 0xc], ebx
jmp 0x100221c5
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x7c], 9
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 4
jl 0x100221b5
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x14], 8
jle 0x10022362
push 0xfffffffffffffffd
pop esi
push 3
pop edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], esi
mov dword [esp + 0xc], ebx
jmp 0x10022349
mov dword [esp + 0x10], 0x526d2e85
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0x83dc0e3e
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], ebx
jmp 0x10022333
mov dword [esp + 0x20], 0x45625132
mov dword [esp + 0x20], ebx
jmp 0x10022315
mov dword [esp + 0x1c], ebx
jmp 0x10022252
mov eax, dword [esp + 0x1c]
mov dword [esp + eax*4 + 0x50], 0x5e82aa9d
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], 2
jl 0x10022242
push ecx
lea edx, [esp + 0x6c]
call fcn.10020c90
mov eax, dword [esp + 0x24]
pop ecx
mov eax, dword [esp + eax*4 + 0x7c]
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x10], ebx
je 0x1002227a
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x84], ebx
je 0x1002228e
cmp dword [esp + 0x10], ebx
je 0x1002228e
xor eax, eax
inc eax
jmp 0x10022290
mov eax, ebx
cmp eax, 0xfffffffc
mov eax, dword [esp + 0x18]
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
mov eax, dword [esp + 0x50]
setne dl
xor ecx, ecx
cmp edx, eax
setl cl
cmp ecx, dword [esp + 0x50]
jl 0x100222bd
cmp dword [esp + 0x40], ebx
je 0x100222bd
xor eax, eax
inc eax
jmp 0x100222bf
mov eax, ebx
mov dword [esp + 0x1c], eax
xor edx, edx
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0xc]
cmp ecx, eax
setle dl
imul edx, dword [esp + 0x9c]
neg edx
jne 0x100222e8
cmp dword [esp + 0x50], ebx
jne 0x100222e8
mov eax, ebx
jmp 0x100222eb
xor eax, eax
inc eax
mov dword [esp + 0x1c], eax
xor edx, edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + eax*4 + 0x7c]
mov eax, dword [esp + 0x1c]
cmp eax, ecx
setl dl
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x84], eax
inc dword [esp + 0x20]
cmp dword [esp + 0x20], edi
jle 0x1002223c
push 0x3683
mov edx, 0x47e6
call fcn.1001fde9
inc dword [esp + 0x14]
pop ecx
cmp dword [esp + 0x10], edi
jle 0x1002222b
mov eax, dword [esp + 0xc]
mov eax, dword [esp + eax*4 + 0x7c]
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edi
jle 0x1002220a
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 8
jg 0x100221e1
lea eax, [esp + 0x58]
xor cl, cl
push eax
push dword [esp + 0x28]
lea edx, [esp + 0x50]
call fcn.1001fcff
mov dword [esp + 0x2c], 0xfffffff9
mov dword [esp + 0x48], 0xa7084bc9
mov dword [esp + 0x48], 6
mov dword [esp + 0x48], 0xffff
mov dword [esp + 0x2c], 2
pop ecx
pop ecx
cmp dword [esp + 0x24], ebx
jge 0x1002245f
mov dword [esp + 0x34], 0xb6182eac
mov dword [esp + 0x10], ebx
jmp 0x100223cb
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0xc0], 0x38ecf54c
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 1
jl 0x100223b8
mov dword [esp + 0x10], ebx
jmp 0x100223eb
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0xd8], 5
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x100223d8
mov dword [esp + 0x34], ebx
cmp dword [esp + 0x34], ebx
jl 0x10022409
xor cl, cl
call fcn.1001f68d
dec dword [esp + 0x34]
jns 0x100223fc
push 0x5c62
push 0x286b
push 0x6622
push 1
lea eax, [esp + 0x44]
mov edx, 0x7dcd
push eax
push 0x502
push 0x3ee0
push 0x6fe5
push 0x75bc
push 0x2326
push 0x5827
push ebx
push 0x474e
mov ecx, 0xb5e
call fcn.1001f199
add esp, 0x34
dec dword [esp + 0x24]
js 0x100223aa
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x58]
push eax
call fcn.100233e1
lea ecx, [esp + 0x58]
call fcn.10023973
jmp 0x1002248e
sub esp, 0xc
mov byte [esp + 0x3f], 0
lea eax, [esp + 0x3f]
mov cl, 1
push eax
call fcn.1001efa2
add esp, 0x10
mov ecx, dword [esp + 0x114]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret