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

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
xor ebx, ebx
cmp esi, ebx
mov ebp, 0x3e9
mov dword [esp + 0xc], ebp
jne 0x100204e3
pop esi
pop ebp
mov eax, 3
pop ebx
pop ecx
ret 0x10
cmp dword [esi], 0xbeeffeeb
jne 0x100204f7
cmp dword [esi + 0x17d0], 0xbeeffeeb
je 0x10020503
pop esi
pop ebp
mov eax, 0xd
pop ebx
pop ecx
ret 0x10
cmp dword [esi + 4], ebx
je 0x10020514
pop esi
pop ebp
mov eax, 0xb
pop ebx
pop ecx
ret 0x10
push edi
mov edi, dword [esp + 0x1c]
cmp edi, ebx
je 0x100206a4
mov eax, dword [esi + 0x2c]
push eax
mov dword [esi + 0x50], ebx
call fcn.10022d50
mov ecx, dword [esi + 0x30]
push ecx
call fcn.10022d50
mov edx, dword [esi + 0x34]
push edx
call fcn.10022d50
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x2c]
lea eax, [esi + 0x17c0]
push eax
mov eax, dword [esi + 0x30]
push eax
mov eax, dword [esi + 0xcc]
push ecx
push edx
mov edx, dword [esi + 0xc4]
mov dword [esi + 0x58], ebx
mov ecx, dword [esi + eax*4 + 0x80]
mov eax, dword [esi + edx*4 + 0x80]
push edi
push ecx
mov ecx, dword [esi + 0xd8]
push eax
push ecx
mov dword [esp + 0x3c], ebp
call fcn.10023510
mov edx, dword [esi + 0x2c]
push edx
call fcn.10022dd0
add esp, 0x30
cmp eax, 0x12c
mov dword [esi + 0x5c], eax
jbe 0x1002059f
mov dword [esi + 0x5c], 0x12c
xor ebp, ebp
cmp dword [esi + 0x5c], ebx
jle 0x10020626
lea edi, [esi + 0xf4]
mov eax, dword [esi + 0x2c]
push ebp
push eax
call fcn.10022de0
mov dword [edi], eax
mov ecx, dword [esi + 0x34]
push ebp
push ecx
call fcn.10022de0
mov dword [edi + 4], eax
mov edx, dword [esi + 0x30]
push ebp
push edx
call fcn.10022de0
mov ecx, dword [edi + 4]
mov dword [edi + 8], eax
mov al, byte [ecx]
add esp, 0x18
test al, al
je 0x100205f6
mov dl, byte [esi + 0x17ac]
cmp al, dl
je 0x1002061e
mov al, byte [ecx + 1]
add ecx, 1
test al, al
jne 0x100205e8
mov ecx, dword [edi]
mov dl, 1
call fcn.1001efb0
mov ecx, dword [esi + 0x17c0]
call fcn.1001efb0
push esi
mov eax, edi
call fcn.1001ed80
add esp, 4
mov dword [edi + 0xc], eax
add ebx, 1
add edi, 0x10
add ebp, 1
cmp ebp, dword [esi + 0x5c]
jl 0x100205b0
sub ebx, ebp
add dword [esi + 0x5c], ebx
call fcn.10020300
mov dword [esi + 0x50], 1
jmp 0x10020640
mov eax, 0x12c
cmp dword [esi + 0x5c], eax
jbe 0x1002064d
mov dword [esi + 0x5c], eax
mov ebx, dword [esi + 0x58]
cmp ebx, dword [esi + 0x5c]
jae 0x100206be
mov eax, ebx
shl eax, 4
cmp dword [esi + 0xe0], 0
mov ecx, dword [eax + esi + 0xf4]
mov dword [esp + 0x18], ecx
je 0x100206cb
test ebx, ebx
je 0x100206cb
lea edi, [ebx - 1]
mov edx, edi
shl edx, 4
lea ebp, [edx + esi + 0xf4]
test edi, edi
jl 0x100206cb
cmp dword [esp + 0x24], 0
je 0x100206b6
mov edx, dword [ebp]
mov eax, dword [esp + 0x18]
call fcn.1001efe0
test eax, eax
jne 0x100206b6
sub edi, 1
sub ebp, 0x10
jmp 0x10020681
cmp dword [esi + 0x50], ebx
jne 0x10020640
pop edi
pop esi
pop ebp
mov eax, 0x3e8
pop ebx
pop ecx
ret 0x10
add ebx, 1
mov dword [esi + 0x58], ebx
jmp 0x10020640
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
pop ecx
ret 0x10
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x54]
mov edx, dword [esi + 0x78]
push 0x12c
push eax
push 0x12c
push ecx
push edx
call fcn.10025a20
mov ecx, dword [esp + 0x38]
add esp, 0x14
add eax, 1
test ecx, ecx
je 0x10020722
mov edx, dword [esp + 0x20]
cmp eax, dword [edx]
jbe 0x10020713
pop edi
pop esi
mov dword [esp + 8], 4
pop ebp
mov dword [edx], eax
mov eax, dword [esp + 4]
pop ebx
pop ecx
ret 0x10
mov edx, dword [esi + 0x54]
push eax
push edx
push eax
push ecx
call fcn.1000ba10
add esp, 0x10
add dword [esi + 0x58], 1
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10