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

Disassembly:
sub esp, 0xaa4
mov eax, dword [0x10037d20]
xor eax, esp
mov dword [esp + 0xaa0], eax
mov edx, dword [esp + 0xaa8]
mov ecx, dword [esp + 0xab4]
mov eax, dword [esp + 0xaac]
push esi
mov esi, dword [esp + 0xac0]
mov dword [esp + 0x18], edx
mov dword [esp + 0xc], ecx
push edi
mov edi, dword [esp + 0xab8]
cmp esi, 5
ja case.default.0x1002089a
jmp dword [esi*4 + 0x10020d90]
push ebp
push eax
push edx
call fcn.1001cab0
mov ebp, eax
mov dword [esp + 0x34], ebp
test ebp, ebp
jne 0x100208bd
mov eax, 0xfffffae2
jmp 0x10020b42
mov eax, dword [ebp + 4]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [esp + 0x3c], eax
mov ebx, dword [eax + 4]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x20], ebx
push dword [ebx + 0xc]
call fcn.10012e80
test esi, esi
je 0x10020b5c
cmp esi, 4
je 0x10020b5c
cmp esi, 5
je 0x10020b5c
push dword [esp + 0x24]
call fcn.1001cc30
push 1
push eax
mov dword [esp + 0x28], eax
call fcn.1001c580
mov ebp, eax
test ebp, ebp
je 0x10020a83
mov ebx, dword [esp + 0x10]
mov dword [ebp + 0x1c], esi
xor esi, esi
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x20], 0
mov ebx, dword [ebx + 0x28]
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], esi
test ebx, ebx
je 0x10020a3e
jmp 0x10020950
push 0x120
call fcn.10021290
mov edi, eax
test edi, edi
je 0x10020a79
mov eax, dword [esp + 0x2c]
mov dword [edi + 4], eax
inc eax
mov ecx, dword [ebx + 0xc]
mov dword [edi + 8], ecx
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x2c], eax
mov dword [edi + 0xc], ecx
mov eax, dword [ebx + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x38]
cmp byte [eax + 0x1c], 1
mov eax, dword [ebx + 8]
jne 0x10020998
and eax, 0xffffffdf
push 0x200
mov dword [edi + 0x18], eax
lea esi, [ebx + 0x2a]
mov eax, dword [esp + 0x20]
push esi
push esi
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.10011fa0
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x20]
push dword [eax + 0xc]
call fcn.10012e80
push dword [esp + 0x14]
lea eax, [edi + 0x1c]
push 0x41
push eax
push esi
call fcn.1000d860
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
add esi, 0x68
push 0x100
push esi
push esi
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.10011fa0
push dword [esp + 0x14]
lea eax, [edi + 0x9e]
push 0x41
push eax
push esi
call fcn.1000d860
cmp dword [ebp + 0x28], 0
jne 0x10020a10
mov dword [ebp + 0x28], edi
jmp 0x10020a16
mov eax, dword [esp + 0x28]
mov dword [eax], edi
mov esi, dword [esp + 0x30]
mov ebx, dword [ebx]
inc esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], esi
test ebx, ebx
jne 0x10020950
test esi, esi
jle 0x10020a3e
mov eax, dword [ebp + 0x28]
mov dword [ebp + 0x20], esi
mov byte [ebp + 0x24], 2
mov dword [ebp + 0x2c], eax
call sub.KERNEL32.dll_GetCurrentProcessId
push eax
call fcn.1001cc70
push 0x10037b70
push dword [ebp + 0xc]
lea ecx, [esp + 0x3c]
mov eax, dword [eax + 0x1c]
push ecx
push dword [esp + 0x30]
mov eax, dword [eax + 0x24]
call eax
mov edi, eax
test edi, edi
je 0x10020a8d
push ebp
push dword [esp + 0x24]
call fcn.1001ca50
mov eax, edi
jmp 0x10020b41
push ebp
push dword [esp + 0x24]
call fcn.1001ca50
mov eax, 0xfffffc0d
jmp 0x10020b41
mov ecx, dword [esp + 0x3c]
mov edx, 0x38
mov eax, dword [esp + 0x34]
mov dword [ebp + 0x10], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp + 0x14], eax
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0xac8]
cmp ecx, edx
mov dword [ebp + 0x18], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x5c], eax
mov eax, ecx
push ecx
push dword [esp + 0x1c]
cmova eax, edx
mov dword [esp + 0x68], esi
mov dword [esp + 0x60], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 1
mov dword [esp + 0x74], 2
mov dword [esp + 0x78], 3
mov dword [esp + 0x7c], 4
mov dword [esp + 0x80], 5
mov dword [esp + 0x84], 6
mov dword [esp + 0x88], 7
mov dword [esp + 0x8c], 8
mov dword [esp + 0x90], 9
mov dword [esp + 0x94], 1
push edx
push eax
call fcn.1000cd30
pop ebx
pop ebp
mov ecx, dword [esp + 0xaa8]
pop edi
pop esi
xor ecx, esp
call fcn.10026b56
add esp, 0xaa4
ret 0x18
test edi, edi
jne 0x10020b67
mov eax, 0xfffffc15
jmp 0x10020b41
push 0x200
lea eax, [esp + 0x6b4]
push eax
push edi
push dword [ebx + 0x14]
push dword [ebx + 0x10]
call fcn.10011fa0
push dword [esp + 0x14]
lea eax, [esp + 0x6b4]
push 0x200
push eax
push eax
call fcn.10015a90
test eax, eax
jne 0x10020baf
push 1
push edi
push 0xffffdffa
call fcn.1000d0e0
mov eax, 0xfffffc16
jmp 0x10020b41
lea eax, [esp + 0x6b0]
push eax
push dword [esp + 0x14]
call fcn.1001ccb0
mov ecx, eax
test ecx, ecx
jne 0x10020bd0
mov eax, 0xfffffa1d
jmp 0x10020b41
test esi, esi
jne 0x10020c26
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x50], eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x4c], eax
cmp byte [ebp + 0x1c], 1
mov eax, dword [ecx + 8]
jne 0x10020bfc
and eax, 0xffffffdf
mov ecx, dword [esp + 0xac8]
mov edx, 0x18
mov dword [esp + 0x54], eax
cmp ecx, edx
push ecx
push dword [esp + 0x1c]
mov eax, ecx
cmova eax, edx
mov dword [esp + 0x48], eax
lea eax, [esp + 0x48]
push edx
jmp 0x10020b3b
cmp esi, 4
jne 0x10020d06
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x29c], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x2a0], eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x2a4], eax
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x2a8], eax
cmp byte [ebp + 0x1c], 1
mov eax, dword [ecx + 8]
jne 0x10020c63
and eax, 0xffffffdf
mov esi, dword [esp + 0x10]
push 0x100
add esi, 0x68
mov dword [esp + 0x2b0], eax
push esi
push esi
push dword [ebx + 0x14]
push dword [ebx + 0x10]
call fcn.10011fa0
push dword [esp + 0x14]
lea eax, [esp + 0x2b4]
push 0x100
push eax
push esi
call fcn.1000d860
lea ecx, [esp + 0x4b0]
mov edx, 0x100
mov eax, ecx
sub edi, eax
lea ebx, [ebx]
lea eax, [edx + 0x7ffffefe]
test eax, eax
je 0x10020cce
movzx eax, word [edi + ecx]
test ax, ax
je 0x10020cce
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x10020cb0
jmp 0x10020cd2
test edx, edx
jne 0x10020cd5
sub ecx, 2
xor eax, eax
mov edx, 0x418
mov word [ecx], ax
mov ecx, dword [esp + 0xac8]
cmp ecx, edx
push ecx
push dword [esp + 0x1c]
mov eax, ecx
cmova eax, edx
mov dword [esp + 0x2a0], eax
lea eax, [esp + 0x2a0]
push edx
jmp 0x10020b3b
push 1
xor eax, eax
mov dword [esp + 0x98], 0
mov word [esp + 0x9c], ax
lea edx, [esp + 0x9c]
push dword [ecx + 0x10]
mov eax, dword [esp + 0x18]
push 0x200
push edx
push dword [ecx + 0x20]
mov eax, dword [eax + 4]
push dword [eax + 0xc]
call fcn.100154a0
test eax, eax
je 0x10020d4d
xor eax, eax
mov word [esp + 0x98], ax
mov ecx, dword [esp + 0xac8]
mov edx, 0x208
cmp ecx, edx
mov eax, ecx
push ecx
push dword [esp + 0x1c]
cmova eax, edx
mov dword [esp + 0x98], eax
lea eax, [esp + 0x98]
push edx
jmp 0x10020b3b
mov eax, 0xfffffc17
jmp 0x10020b43
mov eax, 0xfffffc15
jmp 0x10020b43