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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x174
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x170], eax
push ebx
push esi
push edi
push 0x58
lea eax, [esp + 0x24]
mov ebx, edx
push 0
push eax
mov dword [esp + 0x28], ebx
mov esi, ecx
call fcn.1002fa10
add esp, 0xc
mov dword [esp + 0x2c], ebx
cmp byte [esi + 0x31], 0
mov dword [esp + 0x20], esi
mov byte [esi + 7], 0
je 0x1002a3c6
mov edi, dword [esi + 0x36c]
mov ebx, dword [edi]
add ebx, 4
cmp dword [edi + 0x18], 8
je 0x1002a3b7
cmp ebx, dword [edi + 8]
jbe 0x1002a3b7
mov edx, ebx
mov ecx, edi
call fcn.1001dc80
cmp dword [edi + 0x24], 1
mov dword [edi], ebx
jge 0x1002a3c6
mov dword [edi + 0x24], 1
xor edi, edi
cmp dword [esi + 0x330], edi
jle 0x1002a3eb
mov eax, dword [esi + 0x32c]
push dword [eax + edi*4]
push esi
call sym.tcc32_32.dll_tcc_add_library_err
inc edi
add esp, 8
cmp edi, dword [esi + 0x330]
jl 0x1002a3d0
lea edx, [esp + 0x20]
mov ecx, esi
call fcn.10029fb0
mov eax, dword [esi + 0x374]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
add eax, ecx
lea edi, [ecx + 0x10]
cmp edi, eax
jae 0x1002a490
mov eax, 0xfff2
cmp word [edi + 0xe], ax
jne 0x1002a479
mov ebx, dword [esi + 0x360]
mov ecx, dword [edi + 4]
mov eax, ecx
neg eax
mov dword [esp + 0x10], ecx
mov edx, dword [ebx]
dec edx
add edx, ecx
and edx, eax
mov eax, dword [edi + 8]
add eax, edx
mov dword [esp + 0x18], edx
cmp dword [ebx + 0x18], 8
mov dword [esp + 0x14], eax
je 0x1002a45e
cmp eax, dword [ebx + 8]
jbe 0x1002a45e
mov edx, eax
mov ecx, ebx
call fcn.1001dc80
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov dword [ebx], eax
cmp ecx, dword [ebx + 0x24]
jle 0x1002a468
mov dword [ebx + 0x24], ecx
mov dword [edi + 4], edx
mov eax, dword [esi + 0x360]
mov ax, word [eax + 0x14]
mov word [edi + 0xe], ax
mov eax, dword [esi + 0x374]
add edi, 0x10
mov ecx, dword [eax + 4]
add ecx, dword [eax]
mov eax, 0xfff2
cmp edi, ecx
jb 0x1002a413
mov ecx, esi
call fcn.1001ee40
mov eax, dword [esp + 0x30]
cmp eax, 1
jne 0x1002a4a7
mov ebx, 0x10000000
jmp 0x1002a4b6
mov ebx, 0x400000
mov ecx, 3
cmp eax, 2
jne 0x1002a4bb
mov ecx, 2
mov eax, dword [esi + 0x398]
test eax, eax
cmovne ecx, eax
mov dword [esp + 0x5c], ecx
cmp ecx, 1
jne 0x1002a4d8
mov edx, 0x20
mov edi, edx
jmp 0x1002a4e2
mov edx, 0x1000
mov edi, 0x200
mov eax, dword [esi + 0x40]
test eax, eax
cmovne edx, eax
mov eax, dword [esi + 0x3a0]
test eax, eax
mov dword [esp + 0x60], edx
cmovne edi, eax
lea eax, [ecx - 0xa]
mov ecx, 2
mov dword [esp + 0x64], edi
cmp ecx, eax
sbb eax, eax
and eax, ebx
cmp byte [esi + 0x3c], 0
mov dword [esp + 0x38], eax
je 0x1002a51c
mov eax, dword [esi + 0x38]
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x20]
call fcn.10028f80
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1002a66b
lea ecx, [esp + 0x20]
cmp dword [esp + 0x1c], eax
je 0x1002a652
call fcn.10028cb0
mov edx, dword [esi + 0x388]
mov ecx, esi
push 0
call fcn.1001e7b0
mov eax, dword [esp + 0x3c]
mov edi, 1
add esp, 4
mov dword [esi + 0x3a8], eax
cmp dword [esi + 0x340], edi
jle 0x1002a58f
nop dword [eax]
mov eax, dword [esi + 0x33c]
mov edx, dword [eax + edi*4]
cmp dword [edx + 0x40], 0
je 0x1002a586
mov ecx, esi
call fcn.1001e910
inc edi
cmp edi, dword [esi + 0x340]
jl 0x1002a570
cmp byte [esi + 0x25], 0
mov edi, dword [esp + 0x3c]
je 0x1002a5cf
push 0x40
push edi
call fcn.1002f3a0
add esp, 8
test eax, eax
jne 0x1002a5cf
mov byte [esp + 0x78], 0x5f
lea eax, [esp + 0x79]
mov cl, byte [edi]
lea edi, [edi + 1]
test cl, cl
je 0x1002a5c8
mov byte [eax], cl
inc eax
lea ecx, [esp + 0x177]
cmp eax, ecx
jb 0x1002a5b1
mov byte [eax], 0
lea edi, [esp + 0x78]
mov ebx, dword [esi + 0x388]
mov edx, edi
mov ecx, ebx
call fcn.1001e060
test eax, eax
je 0x1002a714
shl eax, 4
add eax, dword [ebx + 4]
cmp word [eax + 0xe], 0
je 0x1002a714
mov eax, dword [eax + 4]
sub eax, dword [esp + 0x38]
cmp dword [esi + 0xe0], 0
mov dword [esp + 0x40], eax
je 0x1002a615
mov dword [esp + 0x10], 0xffffffff
jmp 0x1002a622
lea ecx, [esp + 0x20]
call fcn.10027750
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
mov esi, ebx
test edi, edi
je 0x1002a647
mov eax, dword [esi]
test eax, eax
je 0x1002a63f
push eax
call fcn.1003a4ed
add esp, 4
add esi, 4
sub edi, 1
jne 0x1002a630
push ebx
call fcn.1003a4ed
add esp, 4
jmp 0x1002a66b
mov eax, dword [esi + 0x358]
mov dword [esp + 0x28], eax
call fcn.10027f50
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x3ac], eax
mov ebx, dword [esp + 0x74]
xor eax, eax
mov dword [esp + 0x14], eax
test ebx, ebx
jle 0x1002a6c7
nop dword [eax]
mov ecx, dword [esp + 0x70]
mov edi, dword [ecx + eax*4]
cmp dword [edi + 4], 0
mov esi, dword [edi + 8]
je 0x1002a6a8
mov eax, dword [esi]
test eax, eax
je 0x1002a69f
push eax
call fcn.1003a4ed
add esp, 4
add esi, 4
add dword [edi + 4], 0xffffffff
jne 0x1002a690
push dword [edi + 8]
call fcn.1003a4ed
mov eax, dword [esp + 0x18]
add esp, 4
inc eax
mov dword [edi + 8], 0
mov dword [esp + 0x14], eax
cmp eax, ebx
jl 0x1002a680
mov eax, dword [esp + 0x70]
mov esi, eax
test ebx, ebx
je 0x1002a6f2
mov edi, ebx
mov eax, dword [esi]
test eax, eax
je 0x1002a6e4
push eax
call fcn.1003a4ed
add esp, 4
mov ebx, edi
add esi, 4
add ebx, 0xffffffff
mov edi, ebx
jne 0x1002a6d3
mov eax, dword [esp + 0x70]
push eax
call fcn.1003a4ed
mov ecx, dword [esp + 0x180]
add esp, 4
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1002e6c8
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.1002ac20
push edi
push str._s_not_defined
call fcn.1002b0f0
int3