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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x24ec9b
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x27f584]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x27f584]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x18d1a1
mov cl, byte [eax]
cmp cl, 0x80
jae 0x18d1a1
movzx ecx, cl
inc eax
mov dword [ebx + 4], eax
mov dword [ebx + 0x14], ecx
mov eax, ecx
jmp 0x18d1ab
mov ecx, ebx
call fcn.00220890
mov dword [ebx + 0x14], eax
test eax, eax
je 0x18d868
mov ecx, eax
shr ecx, 3
dec ecx
cmp ecx, 8
ja case.default.0x18d1c2
jmp dword [ecx*4 + 0x18d8b8]
test al, 7
jne case.default.0x18d1c2
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x18d1ed
mov cl, byte [eax]
cmp cl, 0x80
jae 0x18d1ed
movzx ecx, cl
inc eax
mov dword [esp + 0x30], ecx
mov dword [ebx + 4], eax
jmp 0x18d201
lea edx, [esp + 0x30]
push edx
mov ecx, ebx
call fcn.00220790
test al, al
je 0x18d8b1
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
or dword [esi + 0x48], 1
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x18d180
cmp byte [eax], 0x12
jne 0x18d180
inc eax
mov dword [ebx + 4], eax
jmp 0x18d23d
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x18d1c2
mov esi, dword [esp + 0x28]
or dword [esi + 0x48], 2
cmp dword [esi + 8], 0x2806e0
jne 0x18d27b
push 0x1c
call fcn.001e2640
add esp, 4
test eax, eax
je 0x18d26b
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x18d26d
xor eax, eax
mov dword [esp + 0x98], 0xffffffff
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
push eax
push ebx
call fcn.0021aaf0
add esp, 8
test al, al
je 0x18d8b1
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x18d180
cmp byte [eax], 0x1a
jne 0x18d180
inc eax
mov dword [ebx + 4], eax
jmp 0x18d2bd
mov edx, eax
and dl, 7
cmp dl, 2
jne case.default.0x18d1c2
mov esi, dword [esp + 0x28]
mov edi, esi
call fcn.00185600
push eax
push ebx
call fcn.0021aaa0
add esp, 8
test al, al
je 0x18d8b1
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x18d2e4
mov eax, dword [eax]
push 0
push ecx
push eax
call fcn.0021add0
mov eax, dword [ebx + 4]
add esp, 0xc
cmp eax, dword [ebx + 8]
jae 0x18d180
cmp byte [eax], 0x22
jne 0x18d180
inc eax
mov dword [ebx + 4], eax
jmp 0x18d320
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x18d1c2
mov esi, dword [esp + 0x28]
lea ecx, [ecx]
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
cmp eax, ecx
jge 0x18d338
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + eax*4]
inc eax
mov dword [esi + 0x1c], eax
mov eax, ecx
jmp 0x18d362
mov eax, dword [esi + 0x24]
cmp ecx, eax
jne 0x18d349
inc eax
push eax
lea ecx, [esi + 0x18]
call fcn.001fbf50
mov edi, 1
add dword [esi + 0x20], edi
call fcn.001fbfd0
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
mov dword [edx + ecx*4], eax
add dword [esi + 0x1c], edi
push eax
push ebx
call fcn.0021aaa0
add esp, 8
test al, al
je 0x18d8b1
mov eax, dword [esp + 0x28]
mov edi, dword [eax + 0x1c]
dec edi
cmp edi, dword [esi + 0x1c]
jl 0x18d3c1
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 0
call fcn.001fb6d0
mov ecx, 1
mov dword [esp + 0x98], ecx
or dword [esp + 0x24], ecx
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.001fb9c0
push eax
lea ecx, [esp + 0x30]
call fcn.001fbc10
mov dword [esp + 0x98], 0xffffffff
test byte [esp + 0x24], 1
je 0x18d3e1
and dword [esp + 0x24], 0xfffffffe
lea ecx, [esp + 0x38]
call fcn.001fb700
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + edi*4]
mov edx, dword [esp + 0x28]
mov edi, dword [edx + 0x1c]
mov ebx, dword [eax + 0x10]
dec edi
cmp edi, dword [esi + 0x1c]
jl 0x18d437
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x6c]
mov byte [esp + 0x39], 0
call fcn.001fb6d0
mov ecx, 2
mov dword [esp + 0x98], ecx
or dword [esp + 0x24], ecx
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.001fb9c0
push eax
lea ecx, [esp + 0x31]
call fcn.001fbc10
mov dword [esp + 0x98], 0xffffffff
test byte [esp + 0x24], 2
je 0x18d457
and dword [esp + 0x24], 0xfffffffd
lea ecx, [esp + 0x60]
call fcn.001fb700
mov eax, dword [esi + 0x18]
mov edi, dword [eax + edi*4]
cmp dword [edi + 0x14], 0x10
jb 0x18d465
mov edi, dword [edi]
push 0
push ebx
push edi
call fcn.0021add0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 4]
add esp, 0xc
cmp eax, dword [ecx + 8]
jae 0x18d48d
cmp byte [eax], 0x22
jne 0x18d48d
inc eax
mov dword [ecx + 4], eax
mov ebx, ecx
jmp 0x18d320
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
jae 0x18d180
cmp byte [eax], 0x2a
jne 0x18d180
inc eax
mov edx, ecx
mov dword [edx + 4], eax
jmp 0x18d4b8
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x18d1c2
mov edi, dword [esp + 0x28]
call fcn.00185710
mov esi, dword [esp + 0x20]
push eax
push esi
call fcn.0021aaa0
add esp, 8
test al, al
je 0x18d8b1
mov eax, dword [edi + 0x28]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x18d4e5
mov eax, dword [eax]
push 0
push ecx
push eax
call fcn.0021add0
mov eax, dword [esi + 4]
add esp, 0xc
cmp eax, dword [esi + 8]
jae 0x18d180
cmp byte [eax], 0x30
jne 0x18d180
inc eax
mov edx, esi
mov dword [edx + 4], eax
jmp 0x18d516
test al, 7
jne case.default.0x18d1c2
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jae 0x18d536
mov cl, byte [eax]
cmp cl, 0x80
jae 0x18d536
movzx ecx, cl
inc eax
mov dword [esp + 0x34], ecx
mov dword [esi + 4], eax
jmp 0x18d54a
lea edx, [esp + 0x34]
push edx
mov ecx, esi
call fcn.00220790
test al, al
je 0x18d8b1
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
or dword [eax + 0x48], 0x20
mov dword [eax + 0x14], ecx
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jae 0x18d180
cmp byte [eax], 0x3a
jne 0x18d180
inc eax
mov edx, esi
mov dword [edx + 4], eax
jmp 0x18d584
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x18d1c2
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov edi, 1
cmp eax, ecx
jge 0x18d5a5
mov edx, dword [esi + 0x2c]
mov ecx, dword [edx + eax*4]
inc eax
mov dword [esi + 0x30], eax
mov eax, ecx
jmp 0x18d5ca
mov eax, dword [esi + 0x38]
cmp ecx, eax
jne 0x18d5b6
inc eax
push eax
lea ecx, [esi + 0x2c]
call fcn.001fbf50
add dword [esi + 0x34], edi
call fcn.001fbfd0
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x2c]
mov dword [edx + ecx*4], eax
add dword [esi + 0x30], edi
push eax
mov eax, dword [esp + 0x24]
push eax
call fcn.0021aaa0
add esp, 8
test al, al
je 0x18d8b1
mov ecx, dword [esp + 0x28]
mov edi, dword [ecx + 0x30]
dec edi
cmp edi, dword [esi + 0x30]
jl 0x18d62d
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x6c]
mov byte [esp + 0x3a], 0
call fcn.001fb6d0
mov dword [esp + 0x98], 3
or dword [esp + 0x24], 4
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.001fb9c0
push eax
lea ecx, [esp + 0x32]
call fcn.001fbc10
mov dword [esp + 0x98], 0xffffffff
test byte [esp + 0x24], 4
je 0x18d64d
and dword [esp + 0x24], 0xfffffffb
lea ecx, [esp + 0x60]
call fcn.001fb700
mov edx, dword [esi + 0x2c]
mov eax, dword [edx + edi*4]
mov ebx, dword [eax + 0x10]
mov eax, dword [esp + 0x28]
mov edi, dword [eax + 0x30]
dec edi
cmp edi, dword [esi + 0x30]
jl 0x18d6a3
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x44]
mov byte [esp + 0x3b], 0
call fcn.001fb6d0
mov dword [esp + 0x98], 4
or dword [esp + 0x24], 8
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.001fb9c0
push eax
lea ecx, [esp + 0x33]
call fcn.001fbc10
mov dword [esp + 0x98], 0xffffffff
test byte [esp + 0x24], 8
je 0x18d6c3
and dword [esp + 0x24], 0xfffffff7
lea ecx, [esp + 0x38]
call fcn.001fb700
mov ecx, dword [esi + 0x2c]
mov edi, dword [ecx + edi*4]
cmp dword [edi + 0x14], 0x10
jb 0x18d6d1
mov edi, dword [edi]
push 0
push ebx
push edi
call fcn.0021add0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 4]
add esp, 0xc
cmp eax, dword [ecx + 8]
jae 0x18d6f9
cmp byte [eax], 0x3a
jne 0x18d6f9
inc eax
mov edx, ecx
mov dword [edx + 4], eax
jmp 0x18d588
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
jae 0x18d180
cmp byte [eax], 0x42
jne 0x18d180
inc eax
mov dword [ecx + 4], eax
jmp 0x18d722
mov edx, eax
and dl, 7
cmp dl, 2
jne case.default.0x18d1c2
mov edi, dword [esp + 0x28]
or dword [edi + 0x48], 0x80
cmp dword [edi + 0x3c], 0x2806e0
jne 0x18d767
push 0x1c
call fcn.001e2640
add esp, 4
test eax, eax
je 0x18d757
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x18d759
xor eax, eax
mov dword [esp + 0x98], 0xffffffff
mov dword [edi + 0x3c], eax
mov eax, dword [edi + 0x3c]
mov esi, dword [esp + 0x20]
push eax
push esi
call fcn.0021aaa0
add esp, 8
test al, al
je 0x18d8b1
mov eax, dword [edi + 0x3c]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x18d78e
mov eax, dword [eax]
push 0
push ecx
push eax
call fcn.0021add0
mov eax, dword [esi + 4]
add esp, 0xc
cmp eax, dword [esi + 8]
jae 0x18d180
cmp byte [eax], 0x4a
jne 0x18d180
inc eax
mov ecx, esi
mov dword [ecx + 4], eax
jmp 0x18d7c5
mov edx, eax
and dl, 7
cmp dl, 2
jne case.default.0x18d1c2
mov edi, dword [esp + 0x28]
or dword [edi + 0x48], 0x100
cmp dword [edi + 0x40], 0x2806e0
jne 0x18d80a
push 0x1c
call fcn.001e2640
add esp, 4
test eax, eax
je 0x18d7fa
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x18d7fc
xor eax, eax
mov dword [esp + 0x98], 0xffffffff
mov dword [edi + 0x40], eax
mov eax, dword [edi + 0x40]
mov esi, dword [esp + 0x20]
push eax
push esi
call fcn.0021aaa0
add esp, 8
test al, al
je 0x18d8b1
mov eax, dword [edi + 0x40]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x18d831
mov eax, dword [eax]
push 0
push ecx
push eax
call fcn.0021add0
mov eax, dword [esi + 4]
add esp, 0xc
cmp eax, dword [esi + 8]
jne 0x18d180
mov eax, esi
cmp dword [eax + 0x20], 0
jne 0x18d85d
mov ecx, dword [eax + 0xc]
cmp ecx, dword [eax + 0x1c]
jne 0x18d180
mov dword [eax + 0x14], 0
mov byte [eax + 0x18], 1
mov al, 1
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.001e2239
mov esp, ebp
pop ebp
ret 4
mov edx, eax
and dl, 7
cmp dl, 4
je 0x18d868
mov ecx, dword [esp + 0x28]
add ecx, 4
push ecx
push eax
push ebx
call fcn.0021b550
add esp, 0xc
test al, al
jne 0x18d180
xor al, al
jmp 0x18d86a