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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x10023f34]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
mov ebx, ecx
mov dword [esp + 0x14], 0x1e
push esi
push edi
mov dword [esp + 0x2c], ebx
mov eax, dword [ebx + 0x14c]
test eax, eax
je 0x100207f0
push eax
push 0
push dword [0x10025d40]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebx + 0x14c], 0
mov ecx, ebx
call fcn.1000e740
lea ecx, [ebx + 0x128]
mov edx, 1
call fcn.1000fae0
test eax, eax
je 0x10020bd6
xor eax, eax
mov dword [esp + 0x24], 1
mov word [ebx + 0x134], ax
xor ecx, ecx
mov eax, dword [ebx + 0x130]
mov dword [ebx + 0x138], eax
mov dword [eax], 0x80
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x20], 0x1e
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x5c]
push eax
push 1
push dword [ebx + 0x1c]
push 0xa
push 0x10
push dword [ebx]
call fcn.100101c0
add esp, 0x34
test eax, eax
jne 0x10020b8c
mov esi, 1
mov dword [esp + 0x30], esi
mov ecx, dword [ebx + 0x138]
mov edx, esi
call fcn.1000fae0
test eax, eax
je 0x10020bd6
mov eax, dword [ebx + 0x138]
test eax, eax
jne 0x100208b4
xor edi, edi
jmp 0x100208c1
mov edi, dword [eax + 8]
mov ecx, esi
shl ecx, 7
add edi, 0xffffff80
add edi, ecx
mov eax, dword [esp + 0x24]
mov word [edi], ax
mov eax, dword [esp + 0x1c]
add eax, 0xffffffff
mov dword [esp + 0x14], edi
js 0x100208e1
cmp byte [esp + eax + 0x74], 0x20
jne 0x100208e1
sub eax, 1
jns 0x100208d5
lea ebx, [eax + 1]
cmp ebx, 0x1f
jae 0x10020c05
lea eax, [edi + 0x10]
mov byte [esp + ebx + 0x74], 0
lea esi, [esp + 0x74]
mov dword [esp + 0x20], eax
mov edx, 0x1f
mov ecx, eax
sub esi, eax
lea eax, [edx + 0x7fffffdf]
test eax, eax
je 0x10020921
mov al, byte [ecx + esi]
test al, al
je 0x10020921
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x10020906
jmp 0x10020925
test edx, edx
jne 0x10020926
dec ecx
lea eax, [edi + 0x48]
mov byte [ecx], 0
push eax
lea eax, [edi + 0x44]
push eax
lea eax, [edi + 0x42]
push eax
lea eax, [edi + 0x40]
push eax
lea ecx, [edi + 0x38]
lea eax, [edi + 0x3c]
mov dword [esp + 0x58], ecx
push eax
push ecx
lea edx, [edi + 0x34]
push edx
lea esi, [edi + 0x30]
mov dword [esp + 0x60], edx
mov dx, word [esp + 0x2c]
lea eax, [edi + 0xc]
push esi
push eax
lea eax, [edi + 8]
mov dword [esp + 0x3c], esi
push eax
push dword [esp + 0x5c]
push dword [esp + 0x64]
push dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x78]
call fcn.1001fd60
add esp, 0x38
test ax, ax
jne 0x10020bed
xor eax, eax
xor edx, edx
mov word [edi + 4], ax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], edx
movzx ecx, word [eax + 0x122]
mov eax, dword [eax + 0x124]
mov dword [esp + 0x28], ecx
test cx, cx
je 0x10020aed
mov esi, dword [esp + 0x20]
lea edi, [eax + 0x18]
mov ecx, dword [edi]
test ecx, ecx
je 0x10020a3d
cmp byte [ecx], 0x22
mov eax, dword [edi + 4]
jne 0x100209df
add eax, 0xfffffffe
cmp ebx, eax
jne 0x10020a3d
push eax
lea eax, [ecx + 1]
push eax
push esi
call dword [sym.imp.msvcrt.dll_strncmp]
add esp, 0xc
jmp 0x10020a31
cmp ebx, eax
jne 0x10020a3d
mov esi, 0x21
lea edx, [esp + 0x50]
lea esp, [esp]
lea eax, [esi + 0x7fffffdd]
test eax, eax
je 0x10020a0b
mov al, byte [ecx]
test al, al
je 0x10020a0b
mov byte [edx], al
inc ecx
inc edx
sub esi, 1
jne 0x100209f0
jmp 0x10020a0f
test esi, esi
jne 0x10020a10
dec edx
lea eax, [esp + 0x50]
mov byte [edx], 0
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x50]
push eax
push esi
call dword [sym.imp.msvcrt.dll__stricmp]
add esp, 8
test eax, eax
je 0x10020adc
mov edx, dword [esp + 0xc]
mov eax, dword [edi - 8]
test eax, eax
je 0x10020abc
cmp byte [eax], 0x22
mov ecx, dword [edi - 4]
jne 0x10020a66
add ecx, 0xfffffffe
cmp ebx, ecx
jne 0x10020abc
push ecx
inc eax
push eax
push esi
call dword [sym.imp.msvcrt.dll_strncmp]
add esp, 0xc
jmp 0x10020ab4
cmp ebx, ecx
jne 0x10020abc
mov esi, 0x21
lea edx, [esp + 0x50]
lea ecx, [esi + 0x7fffffdd]
test ecx, ecx
je 0x10020a8e
mov cl, byte [eax]
test cl, cl
je 0x10020a8e
mov byte [edx], cl
inc eax
inc edx
sub esi, 1
jne 0x10020a73
jmp 0x10020a92
test esi, esi
jne 0x10020a93
dec edx
lea eax, [esp + 0x50]
mov byte [edx], 0
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x50]
push eax
push esi
call dword [sym.imp.msvcrt.dll__stricmp]
add esp, 8
test eax, eax
je 0x10020adc
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x28]
inc edx
add eax, 0xffff
mov dword [esp + 0xc], edx
add edi, 0x20
mov dword [esp + 0x28], eax
test ax, ax
jne 0x100209b5
jmp 0x10020ae9
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
inc eax
mov word [ecx + 4], ax
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
cmp di, word [ebx + 0x122]
ja 0x10020b33
mov ecx, dword [esp + 0x30]
mov eax, dword [ebx + 0x124]
shl ecx, 5
test byte [ecx + eax - 0x1c], 1
je 0x10020b33
cmp word [esi], 3
jne 0x10020b33
mov eax, dword [esp + 0x44]
cmp dword [eax], 0x28
jne 0x10020b33
mov eax, dword [esp + 0x48]
cmp word [eax], 0
jne 0x10020b33
mov eax, 0xc
mov word [esi], ax
lea eax, [esp + 0x34]
mov dword [esp + 0x1c], 0x1e
push eax
lea eax, [esp + 0x3c]
inc edi
push eax
lea eax, [esp + 0x44]
movzx esi, di
push eax
lea eax, [esp + 0x58]
mov dword [esp + 0x30], edi
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x40], esi
push eax
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x5c]
push eax
push esi
push dword [ebx + 0x1c]
push 0xa
push 0x10
push dword [ebx]
call fcn.100101c0
add esp, 0x34
test eax, eax
je 0x10020891
mov edx, dword [ebx + 0x1c]
mov eax, 0x3ef
cmp word [edx + 0xc], ax
jne 0x10020bb1
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.100218b0
mov esp, ebp
pop ebp
ret
push dword [ebx]
lea ecx, [ebx + 8]
call fcn.10009dd0
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.100218b0
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0x28
push 0
push 0
xor edx, edx
lea ecx, [ebx + 8]
call fcn.10009cc0
add esp, 0x14
mov ecx, dword [esp + 0x94]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100218b0
mov esp, ebp
pop ebp
ret
call fcn.100219fa
int3