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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0xaeec9b
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0xb1f584]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0xb1f584]
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 0xa2d1a1
mov cl, byte [eax]
cmp cl, 0x80
jae 0xa2d1a1
movzx ecx, cl
inc eax
mov dword [ebx + 4], eax
mov dword [ebx + 0x14], ecx
mov eax, ecx
jmp 0xa2d1ab
mov ecx, ebx
call fcn.00ac0890
mov dword [ebx + 0x14], eax
test eax, eax
je 0xa2d868
mov ecx, eax
shr ecx, 3
dec ecx
cmp ecx, 8
ja case.default.0xa2d1c2
jmp dword [ecx*4 + 0xa2d8b8]
test al, 7
jne case.default.0xa2d1c2
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0xa2d1ed
mov cl, byte [eax]
cmp cl, 0x80
jae 0xa2d1ed
movzx ecx, cl
inc eax
mov dword [esp + 0x30], ecx
mov dword [ebx + 4], eax
jmp 0xa2d201
lea edx, [esp + 0x30]
push edx
mov ecx, ebx
call fcn.00ac0790
test al, al
je 0xa2d8b1
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 0xa2d180
cmp byte [eax], 0x12
jne 0xa2d180
inc eax
mov dword [ebx + 4], eax
jmp 0xa2d23d
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0xa2d1c2
mov esi, dword [esp + 0x28]
or dword [esi + 0x48], 2
cmp dword [esi + 8], 0xb206e0
jne 0xa2d27b
push 0x1c
call fcn.00a82640
add esp, 4
test eax, eax
je 0xa2d26b
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0xa2d26d
xor eax, eax
mov dword [esp + 0x98], 0xffffffff
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
push eax
push ebx
call fcn.00abaaf0
add esp, 8
test al, al
je 0xa2d8b1
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0xa2d180
cmp byte [eax], 0x1a
jne 0xa2d180
inc eax
mov dword [ebx + 4], eax
jmp 0xa2d2bd
mov edx, eax
and dl, 7
cmp dl, 2
jne case.default.0xa2d1c2
mov esi, dword [esp + 0x28]
mov edi, esi
call fcn.00a25600
push eax
push ebx
call fcn.00abaaa0
add esp, 8
test al, al
je 0xa2d8b1
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0xa2d2e4
mov eax, dword [eax]
push 0
push ecx
push eax
call fcn.00abadd0
mov eax, dword [ebx + 4]
add esp, 0xc
cmp eax, dword [ebx + 8]
jae 0xa2d180
cmp byte [eax], 0x22
jne 0xa2d180
inc eax
mov dword [ebx + 4], eax
jmp 0xa2d320
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0xa2d1c2
mov esi, dword [esp + 0x28]
lea ecx, [ecx]
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
cmp eax, ecx
jge 0xa2d338
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + eax*4]
inc eax
mov dword [esi + 0x1c], eax
mov eax, ecx
jmp 0xa2d362
mov eax, dword [esi + 0x24]
cmp ecx, eax
jne 0xa2d349
inc eax
push eax
lea ecx, [esi + 0x18]
call fcn.00a9bf50
mov edi, 1
add dword [esi + 0x20], edi
call fcn.00a9bfd0
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.00abaaa0
add esp, 8
test al, al
je 0xa2d8b1
mov eax, dword [esp + 0x28]
mov edi, dword [eax + 0x1c]
dec edi
cmp edi, dword [esi + 0x1c]
jl 0xa2d3c1
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 0
call fcn.00a9b6d0
mov ecx, 1
mov dword [esp + 0x98], ecx
or dword [esp + 0x24], ecx
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00a9b9c0
push eax
lea ecx, [esp + 0x30]
call fcn.00a9bc10
mov dword [esp + 0x98], 0xffffffff
test byte [esp + 0x24], 1
je 0xa2d3e1
and dword [esp + 0x24], 0xfffffffe
lea ecx, [esp + 0x38]
call fcn.00a9b700
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 0xa2d437
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x6c]
mov byte [esp + 0x39], 0
call fcn.00a9b6d0
mov ecx, 2
mov dword [esp + 0x98], ecx
or dword [esp + 0x24], ecx
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00a9b9c0
push eax
lea ecx, [esp + 0x31]
call fcn.00a9bc10
mov dword [esp + 0x98], 0xffffffff
test byte [esp + 0x24], 2
je 0xa2d457
and dword [esp + 0x24], 0xfffffffd
lea ecx, [esp + 0x60]
call fcn.00a9b700
mov eax, dword [esi + 0x18]
mov edi, dword [eax + edi*4]
cmp dword [edi + 0x14], 0x10
jb 0xa2d465
mov edi, dword [edi]
push 0
push ebx
push edi
call fcn.00abadd0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 4]
add esp, 0xc
cmp eax, dword [ecx + 8]
jae 0xa2d48d
cmp byte [eax], 0x22
jne 0xa2d48d
inc eax
mov dword [ecx + 4], eax
mov ebx, ecx
jmp 0xa2d320
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
jae 0xa2d180
cmp byte [eax], 0x2a
jne 0xa2d180
inc eax
mov edx, ecx
mov dword [edx + 4], eax
jmp 0xa2d4b8
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0xa2d1c2
mov edi, dword [esp + 0x28]
call fcn.00a25710
mov esi, dword [esp + 0x20]
push eax
push esi
call fcn.00abaaa0
add esp, 8
test al, al
je 0xa2d8b1
mov eax, dword [edi + 0x28]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0xa2d4e5
mov eax, dword [eax]
push 0
push ecx
push eax
call fcn.00abadd0
mov eax, dword [esi + 4]
add esp, 0xc
cmp eax, dword [esi + 8]
jae 0xa2d180
cmp byte [eax], 0x30
jne 0xa2d180
inc eax
mov edx, esi
mov dword [edx + 4], eax
jmp 0xa2d516
test al, 7
jne case.default.0xa2d1c2
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jae 0xa2d536
mov cl, byte [eax]
cmp cl, 0x80
jae 0xa2d536
movzx ecx, cl
inc eax
mov dword [esp + 0x34], ecx
mov dword [esi + 4], eax
jmp 0xa2d54a
lea edx, [esp + 0x34]
push edx
mov ecx, esi
call fcn.00ac0790
test al, al
je 0xa2d8b1
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 0xa2d180
cmp byte [eax], 0x3a
jne 0xa2d180
inc eax
mov edx, esi
mov dword [edx + 4], eax
jmp 0xa2d584
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0xa2d1c2
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov edi, 1
cmp eax, ecx
jge 0xa2d5a5
mov edx, dword [esi + 0x2c]
mov ecx, dword [edx + eax*4]
inc eax
mov dword [esi + 0x30], eax
mov eax, ecx
jmp 0xa2d5ca
mov eax, dword [esi + 0x38]
cmp ecx, eax
jne 0xa2d5b6
inc eax
push eax
lea ecx, [esi + 0x2c]
call fcn.00a9bf50
add dword [esi + 0x34], edi
call fcn.00a9bfd0
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.00abaaa0
add esp, 8
test al, al
je 0xa2d8b1
mov ecx, dword [esp + 0x28]
mov edi, dword [ecx + 0x30]
dec edi
cmp edi, dword [esi + 0x30]
jl 0xa2d62d
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x6c]
mov byte [esp + 0x3a], 0
call fcn.00a9b6d0
mov dword [esp + 0x98], 3
or dword [esp + 0x24], 4
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00a9b9c0
push eax
lea ecx, [esp + 0x32]
call fcn.00a9bc10
mov dword [esp + 0x98], 0xffffffff
test byte [esp + 0x24], 4
je 0xa2d64d
and dword [esp + 0x24], 0xfffffffb
lea ecx, [esp + 0x60]
call fcn.00a9b700
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 0xa2d6a3
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x44]
mov byte [esp + 0x3b], 0
call fcn.00a9b6d0
mov dword [esp + 0x98], 4
or dword [esp + 0x24], 8
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00a9b9c0
push eax
lea ecx, [esp + 0x33]
call fcn.00a9bc10
mov dword [esp + 0x98], 0xffffffff
test byte [esp + 0x24], 8
je 0xa2d6c3
and dword [esp + 0x24], 0xfffffff7
lea ecx, [esp + 0x38]
call fcn.00a9b700
mov ecx, dword [esi + 0x2c]
mov edi, dword [ecx + edi*4]
cmp dword [edi + 0x14], 0x10
jb 0xa2d6d1
mov edi, dword [edi]
push 0
push ebx
push edi
call fcn.00abadd0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 4]
add esp, 0xc
cmp eax, dword [ecx + 8]
jae 0xa2d6f9
cmp byte [eax], 0x3a
jne 0xa2d6f9
inc eax
mov edx, ecx
mov dword [edx + 4], eax
jmp 0xa2d588
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
jae 0xa2d180
cmp byte [eax], 0x42
jne 0xa2d180
inc eax
mov dword [ecx + 4], eax
jmp 0xa2d722
mov edx, eax
and dl, 7
cmp dl, 2
jne case.default.0xa2d1c2
mov edi, dword [esp + 0x28]
or dword [edi + 0x48], 0x80
cmp dword [edi + 0x3c], 0xb206e0
jne 0xa2d767
push 0x1c
call fcn.00a82640
add esp, 4
test eax, eax
je 0xa2d757
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0xa2d759
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.00abaaa0
add esp, 8
test al, al
je 0xa2d8b1
mov eax, dword [edi + 0x3c]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0xa2d78e
mov eax, dword [eax]
push 0
push ecx
push eax
call fcn.00abadd0
mov eax, dword [esi + 4]
add esp, 0xc
cmp eax, dword [esi + 8]
jae 0xa2d180
cmp byte [eax], 0x4a
jne 0xa2d180
inc eax
mov ecx, esi
mov dword [ecx + 4], eax
jmp 0xa2d7c5
mov edx, eax
and dl, 7
cmp dl, 2
jne case.default.0xa2d1c2
mov edi, dword [esp + 0x28]
or dword [edi + 0x48], 0x100
cmp dword [edi + 0x40], 0xb206e0
jne 0xa2d80a
push 0x1c
call fcn.00a82640
add esp, 4
test eax, eax
je 0xa2d7fa
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0xa2d7fc
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.00abaaa0
add esp, 8
test al, al
je 0xa2d8b1
mov eax, dword [edi + 0x40]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0xa2d831
mov eax, dword [eax]
push 0
push ecx
push eax
call fcn.00abadd0
mov eax, dword [esi + 4]
add esp, 0xc
cmp eax, dword [esi + 8]
jne 0xa2d180
mov eax, esi
cmp dword [eax + 0x20], 0
jne 0xa2d85d
mov ecx, dword [eax + 0xc]
cmp ecx, dword [eax + 0x1c]
jne 0xa2d180
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.00a82239
mov esp, ebp
pop ebp
ret 4
mov edx, eax
and dl, 7
cmp dl, 4
je 0xa2d868
mov ecx, dword [esp + 0x28]
add ecx, 4
push ecx
push eax
push ebx
call fcn.00abb550
add esp, 0xc
test al, al
jne 0xa2d180
xor al, al
jmp 0xa2d86a