Function at 0x10020751
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.0x1002074a
jmp dword [esi*4 + 0x10020c40]
push ebp
push eax
push edx
call fcn.1001c960
mov ebp, eax
mov dword [esp + 0x34], ebp
test ebp, ebp
jne 0x1002076d
mov eax, 0xfffffae2
jmp 0x100209f2
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.10012d30
test esi, esi
je 0x10020a0c
cmp esi, 4
je 0x10020a0c
cmp esi, 5
je 0x10020a0c
push dword [esp + 0x24]
call fcn.1001cae0
push 1
push eax
mov dword [esp + 0x28], eax
call fcn.1001c430
mov ebp, eax
test ebp, ebp
je 0x10020933
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 0x100208ee
jmp 0x10020800
push 0x120
call fcn.10021140
mov edi, eax
test edi, edi
je 0x10020929
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 0x10020848
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.10011e60
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x20]
push dword [eax + 0xc]
call fcn.10012d30
push dword [esp + 0x14]
lea eax, [edi + 0x1c]
push 0x41
push eax
push esi
call fcn.1000d850
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.10011e60
push dword [esp + 0x14]
lea eax, [edi + 0x9e]
push 0x41
push eax
push esi
call fcn.1000d850
cmp dword [ebp + 0x28], 0
jne 0x100208c0
mov dword [ebp + 0x28], edi
jmp 0x100208c6
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 0x10020800
test esi, esi
jle 0x100208ee
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.1001cb20
push 0x10037b68
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 0x1002093d
push ebp
push dword [esp + 0x24]
call fcn.1001c900
mov eax, edi
jmp 0x100209f1
push ebp
push dword [esp + 0x24]
call fcn.1001c900
mov eax, 0xfffffc0d
jmp 0x100209f1
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.1000cd20
pop ebx
pop ebp
mov ecx, dword [esp + 0xaa8]
pop edi
pop esi
xor ecx, esp
call fcn.100269f6
add esp, 0xaa4
ret 0x18
test edi, edi
jne 0x10020a17
mov eax, 0xfffffc15
jmp 0x100209f1
push 0x200
lea eax, [esp + 0x6b4]
push eax
push edi
push dword [ebx + 0x14]
push dword [ebx + 0x10]
call fcn.10011e60
push dword [esp + 0x14]
lea eax, [esp + 0x6b4]
push 0x200
push eax
push eax
call fcn.10015940
test eax, eax
jne 0x10020a5f
push 1
push edi
push 0xffffdffa
call fcn.1000d0d0
mov eax, 0xfffffc16
jmp 0x100209f1
lea eax, [esp + 0x6b0]
push eax
push dword [esp + 0x14]
call fcn.1001cb60
mov ecx, eax
test ecx, ecx
jne 0x10020a80
mov eax, 0xfffffa1d
jmp 0x100209f1
test esi, esi
jne 0x10020ad6
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 0x10020aac
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 0x100209eb
cmp esi, 4
jne 0x10020bb6
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 0x10020b13
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.10011e60
push dword [esp + 0x14]
lea eax, [esp + 0x2b4]
push 0x100
push eax
push esi
call fcn.1000d850
lea ecx, [esp + 0x4b0]
mov edx, 0x100
mov eax, ecx
sub edi, eax
lea ebx, [ebx]
lea eax, [edx + 0x7ffffefe]
test eax, eax
je 0x10020b7e
movzx eax, word [edi + ecx]
test ax, ax
je 0x10020b7e
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x10020b60
jmp 0x10020b82
test edx, edx
jne 0x10020b85
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 0x100209eb
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.10015350
test eax, eax
je 0x10020bfd
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 0x100209eb
mov eax, 0xfffffc17
jmp 0x100209f3
mov eax, 0xfffffc15
jmp 0x100209f3