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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x24d796
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x27f584]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x27f584]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [esp + 0x10], 0
test byte [esi + 0x48], 1
mov dword [esp + 0x18], edi
je 0x18ddfc
mov eax, dword [esi + 0x10]
push edi
push eax
push 1
call fcn.00188b70
add esp, 0xc
mov edi, eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x48]
shr eax, 1
test al, 1
je 0x18de1a
mov eax, dword [esi + 8]
push edi
push eax
push 2
call fcn.00188cc0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
mov ecx, dword [esi + 0x48]
shr ecx, 2
test cl, 1
je 0x18de51
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x18de33
mov eax, dword [eax]
push 1
push ecx
push eax
call fcn.0021add0
mov eax, dword [esi + 0xc]
push edi
push eax
push 3
call fcn.00188cc0
mov edi, eax
add esp, 0x18
mov dword [esp + 0x18], edi
mov eax, dword [esi + 0x1c]
xor ebx, ebx
test eax, eax
jle 0x18dffb
cmp ebx, eax
jl 0x18de9d
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x5c]
mov byte [esp + 0x23], bl
call fcn.001fb6d0
mov dword [esp + 0xd8], ebx
or dword [esp + 0x10], 1
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.001fb9c0
push eax
lea ecx, [esp + 0x1b]
call fcn.001fbc10
mov dword [esp + 0xd8], 0xffffffff
test byte [esp + 0x10], 1
je 0x18debd
and dword [esp + 0x10], 0xfffffffe
lea ecx, [esp + 0x50]
call fcn.001fb700
mov edx, dword [esi + 0x18]
mov eax, dword [edx + ebx*4]
mov edi, dword [eax + 0x10]
cmp ebx, dword [esi + 0x1c]
jl 0x18df0b
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x34]
mov byte [esp + 0x22], 0
call fcn.001fb6d0
mov dword [esp + 0xd8], 1
or dword [esp + 0x10], 2
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.001fb9c0
push eax
lea ecx, [esp + 0x1a]
call fcn.001fbc10
mov dword [esp + 0xd8], 0xffffffff
test byte [esp + 0x10], 2
je 0x18df2b
and dword [esp + 0x10], 0xfffffffd
lea ecx, [esp + 0x28]
call fcn.001fb700
mov eax, dword [esi + 0x18]
mov eax, dword [eax + ebx*4]
cmp dword [eax + 0x14], 0x10
jb 0x18df39
mov eax, dword [eax]
push 1
push edi
push eax
call fcn.0021add0
add esp, 0xc
cmp ebx, dword [esi + 0x1c]
jl 0x18df8a
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x34]
mov byte [esp + 0x2b], 0
call fcn.001fb6d0
mov dword [esp + 0xd8], 2
or dword [esp + 0x10], 4
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.001fb9c0
push eax
lea ecx, [esp + 0x23]
call fcn.001fbc10
mov dword [esp + 0xd8], 0xffffffff
test byte [esp + 0x10], 4
je 0x18dfaa
and dword [esp + 0x10], 0xfffffffb
lea ecx, [esp + 0x28]
call fcn.001fb700
mov ecx, dword [esi + 0x18]
mov eax, dword [esp + 0x18]
mov edi, dword [ecx + ebx*4]
mov byte [eax], 0x22
lea ecx, [eax + 1]
mov eax, dword [edi + 0x10]
cmp eax, 0x80
jae 0x18dfcb
mov byte [ecx], al
lea eax, [ecx + 1]
jmp 0x18dfd5
push ecx
push eax
call fcn.0021f610
add esp, 8
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x18dfe0
mov edi, dword [edi]
push eax
push ecx
push edi
call fcn.0021f560
inc ebx
add esp, 0xc
mov edi, eax
mov dword [esp + 0x18], edi
cmp ebx, dword [esi + 0x1c]
jl 0x18de9d
mov edx, dword [esi + 0x48]
shr edx, 4
test dl, 1
je 0x18e032
mov eax, dword [esi + 0x28]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x18e014
mov eax, dword [eax]
push 1
push ecx
push eax
call fcn.0021add0
mov eax, dword [esi + 0x28]
push edi
push eax
push 5
call fcn.00188cc0
mov edi, eax
add esp, 0x18
mov dword [esp + 0x18], edi
mov eax, dword [esi + 0x48]
shr eax, 5
test al, 1
je 0x18e071
mov eax, dword [esi + 0x14]
mov byte [edi], 0x30
inc edi
test eax, eax
jns 0x18e055
cdq
push edi
push edx
push eax
call fcn.0021f750
add esp, 0xc
jmp 0x18e06d
cmp eax, 0x80
jae 0x18e063
mov byte [edi], al
lea eax, [edi + 1]
jmp 0x18e06d
push edi
push eax
call fcn.0021f610
add esp, 8
mov dword [esp + 0x18], eax
cmp dword [esi + 0x30], 0
mov dword [esp + 0x20], 0
jle 0x18e255
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esi + 0x30]
jl 0x18e0d4
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x5c]
mov byte [esp + 0x22], 0
call fcn.001fb6d0
mov dword [esp + 0xd8], 3
mov ebx, dword [esp + 0x10]
or ebx, 8
push str.CHECK_failed:__index_____size___:
mov ecx, eax
mov dword [esp + 0x14], ebx
call fcn.001fb9c0
push eax
lea ecx, [esp + 0x1a]
call fcn.001fbc10
jmp 0x18e0d8
mov ebx, dword [esp + 0x10]
mov dword [esp + 0xd8], 0xffffffff
test bl, 8
je 0x18e0f8
and ebx, 0xfffffff7
lea ecx, [esp + 0x50]
mov dword [esp + 0x10], ebx
call fcn.001fb700
mov edi, dword [esp + 0x20]
mov edx, dword [esi + 0x2c]
mov eax, dword [edx + edi*4]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x24], eax
cmp edi, dword [esi + 0x30]
jl 0x18e153
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x84]
mov byte [esp + 0x23], 0
call fcn.001fb6d0
mov dword [esp + 0xd8], 4
or ebx, 0x10
push str.CHECK_failed:__index_____size___:
mov ecx, eax
mov dword [esp + 0x14], ebx
call fcn.001fb9c0
push eax
lea ecx, [esp + 0x1b]
call fcn.001fbc10
mov dword [esp + 0xd8], 0xffffffff
test bl, 0x10
je 0x18e173
and ebx, 0xffffffef
lea ecx, [esp + 0x78]
mov dword [esp + 0x10], ebx
call fcn.001fb700
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx + edi*4]
cmp dword [eax + 0x14], 0x10
jb 0x18e181
mov eax, dword [eax]
mov edx, dword [esp + 0x24]
push 1
push edx
push eax
call fcn.0021add0
add esp, 0xc
cmp edi, dword [esi + 0x30]
jl 0x18e1db
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0xac]
mov byte [esp + 0x2a], 0
call fcn.001fb6d0
mov dword [esp + 0xd8], 5
or ebx, 0x20
push str.CHECK_failed:__index_____size___:
mov ecx, eax
mov dword [esp + 0x14], ebx
call fcn.001fb9c0
push eax
lea ecx, [esp + 0x22]
call fcn.001fbc10
mov dword [esp + 0xd8], 0xffffffff
test bl, 0x20
je 0x18e1fe
and ebx, 0xffffffdf
lea ecx, [esp + 0xa0]
mov dword [esp + 0x10], ebx
call fcn.001fb700
mov eax, dword [esi + 0x2c]
mov ebx, dword [esp + 0x20]
mov edi, dword [eax + ebx*4]
mov eax, dword [esp + 0x18]
mov byte [eax], 0x3a
lea ecx, [eax + 1]
mov eax, dword [edi + 0x10]
cmp eax, 0x80
jae 0x18e223
mov byte [ecx], al
lea eax, [ecx + 1]
jmp 0x18e22d
push ecx
push eax
call fcn.0021f610
add esp, 8
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x18e238
mov edi, dword [edi]
push eax
push ecx
push edi
call fcn.0021f560
inc ebx
add esp, 0xc
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ebx
cmp ebx, dword [esi + 0x30]
jl 0x18e083
mov ecx, dword [esi + 0x48]
shr ecx, 7
test cl, 1
je 0x18e2bf
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + 0x10]
mov ebx, 0x10
cmp dword [eax + 0x14], ebx
jb 0x18e272
mov eax, dword [eax]
push 1
push ecx
push eax
call fcn.0021add0
mov eax, dword [esp + 0x24]
mov edi, dword [esi + 0x3c]
mov byte [eax], 0x42
lea ecx, [eax + 1]
mov eax, dword [edi + 0x10]
add esp, 0xc
cmp eax, 0x80
jae 0x18e29c
mov byte [ecx], al
lea eax, [ecx + 1]
jmp 0x18e2a6
push ecx
push eax
call fcn.0021f610
add esp, 8
mov ecx, dword [edi + 0x10]
cmp dword [edi + 0x14], ebx
jb 0x18e2b0
mov edi, dword [edi]
push eax
push ecx
push edi
call fcn.0021f560
add esp, 0xc
mov ebx, eax
jmp 0x18e2c3
mov ebx, dword [esp + 0x18]
mov edx, dword [esi + 0x48]
shr edx, 8
test dl, 1
je 0x18e324
mov eax, dword [esi + 0x40]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x18e2dc
mov eax, dword [eax]
push 1
push ecx
push eax
call fcn.0021add0
mov edi, dword [esi + 0x40]
mov byte [ebx], 0x4a
mov eax, dword [edi + 0x10]
add esp, 0xc
lea ecx, [ebx + 1]
cmp eax, 0x80
jae 0x18e302
mov byte [ecx], al
lea eax, [ecx + 1]
jmp 0x18e30c
push ecx
push eax
call fcn.0021f610
add esp, 8
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x18e317
mov edi, dword [edi]
push eax
push ecx
push edi
call fcn.0021f560
add esp, 0xc
mov ebx, eax
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
je 0x18e341
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x18e341
push ebx
push esi
call fcn.0021b840
add esp, 8
jmp 0x18e343
mov eax, ebx
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.001e2239
mov esp, ebp
pop ebp
ret 4