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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100aaa63
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x100d3020]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x100d3020]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edi, ecx
mov esi, dword [edi + 0x18]
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], esi
je 0x10020d7e
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
cmp esi, ebx
mov dword [esp + 0xb0], ebx
je 0x10020d95
mov edx, dword [esi]
mov eax, dword [edx + 0x110]
mov ecx, esi
call eax
xor esi, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov byte [esp + 0xb0], 1
cmp dword [edi + 0xc], ebx
je 0x10020dc3
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x50]
lea eax, [esp + 0x1c]
push eax
call edx
mov esi, dword [esp + 0x20]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
jmp 0x10020dd0
cmp esi, ebx
je 0x10021004
mov ecx, dword [esp + 0x24]
sub ecx, esi
mov eax, 0xb21642c9
imul ecx
add edx, ecx
mov ecx, dword [esp + 0x18]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jae 0x10020f76
mov eax, dword [esp + 0x14]
add esi, eax
push 0xffffffffffffffff
push ebx
mov eax, esi
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
call fcn.10002570
cmp dword [esp + 0x4c], ebx
je 0x10020f36
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], bx
mov byte [esp + 0xb0], 3
mov cl, byte [esi + 0x54]
mov dl, byte [esi + 0x55]
mov eax, dword [esi + 0x58]
push 0xffffffffffffffff
mov byte [esp + 0x5a], cl
push ebx
lea ecx, [esi + 0x1c]
push ecx
lea ecx, [esp + 0x70]
mov byte [esp + 0x60], bl
mov byte [esp + 0x61], 1
mov byte [esp + 0x63], dl
mov byte [esp + 0x64], bl
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], eax
call fcn.100021d0
push 0xffffffffffffffff
push ebx
lea eax, [esi + 0x38]
lea ecx, [esp + 0x88]
call fcn.10002570
mov edx, dword [edi]
mov edx, dword [edx + 0x8c]
lea eax, [esp + 0x54]
push eax
mov eax, dword [esp + 0x34]
push ebx
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ecx
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, edi
call edx
mov ecx, dword [esp + 0x2c]
cmp ecx, ebx
je 0x10020ede
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
cmp dword [esp + 0x98], 8
jb 0x10020ef8
mov eax, dword [esp + 0x84]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x7c], 0x10
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], bx
jb 0x10020f26
mov ecx, dword [esp + 0x68]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
mov byte [esp + 0xb0], 1
cmp dword [esp + 0x50], 8
jb 0x10020f52
mov edx, dword [esp + 0x3c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
add dword [esp + 0x18], 1
add dword [esp + 0x14], 0x5c
mov esi, dword [esp + 0x20]
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
jmp 0x10020dd0
cmp esi, ebx
je 0x10021004
mov eax, dword [esp + 0x24]
cmp esi, eax
mov edi, eax
je 0x10020ffb
add esi, 0x50
jmp 0x10020f90
cmp dword [esi], 8
jb 0x10020fa1
mov eax, dword [esi - 0x14]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi], 7
mov dword [esi - 4], ebx
mov word [esi - 0x14], bx
cmp dword [esi - 0x1c], 0x10
jb 0x10020fc0
mov eax, dword [esi - 0x30]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi - 0x1c], 0xf
mov dword [esi - 0x20], ebx
mov byte [esi - 0x30], bl
cmp dword [esi - 0x38], 8
jb 0x10020fdf
mov eax, dword [esi - 0x4c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi - 0x38], 7
mov dword [esi - 0x3c], ebx
mov word [esi - 0x4c], bx
add esi, 0x5c
lea eax, [esi - 0x50]
cmp eax, edi
jne 0x10020f90
mov esi, dword [esp + 0x20]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0xb0], 0xffffffff
mov ecx, dword [esp + 0x34]
cmp ecx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
je 0x1002102a
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.100a4489
mov esp, ebp
pop ebp
ret 0xc