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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov edx, dword [ebp + 0xc]
sub esp, 0x7c
cmp dword [edx], 0
push ebx
push esi
push edi
jne 0x74a2149f
push 0xfffffffffffffffd
pop eax
jmp 0x74a218d7
mov edi, dword [ebp + 8]
mov eax, edi
call fcn.74a21c84
cmp eax, 0xffffffff
jne 0x74a214d3
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x74a214be
call fcn.74a20b9e
mov esi, eax
jmp 0x74a214c0
xor esi, esi
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x74a214cc
call fcn.74a21f4f
mov eax, esi
jmp 0x74a218d7
mov eax, dword [edi]
inc eax
inc eax
lea esi, [esp + 0x68]
call fcn.74a23aa3
test eax, eax
jne 0x74a218d7
mov eax, dword [edi]
inc eax
inc eax
lea esi, [esp + 0x58]
mov dword [esp + 0x68], eax
call fcn.74a20d86
mov ebx, eax
test ebx, ebx
jne 0x74a218cc
lea esi, [esp + 0x78]
call fcn.74a20d86
mov ebx, eax
test ebx, ebx
jne 0x74a218c3
lea eax, [esp + 0x38]
call fcn.74a22f0c
mov ebx, eax
xor esi, esi
cmp ebx, esi
jne 0x74a218ba
mov edi, dword [ebp + 0xc]
lea eax, [esp + 0x48]
call fcn.74a22f0c
mov ebx, eax
cmp ebx, esi
jne 0x74a218b1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
xor ecx, ecx
cmp eax, dword [edi + 8]
lea edx, [esp + 0x48]
setne cl
mov dword [esp + 0x50], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x34], ecx
call fcn.74a21273
push 0x1c
pop ecx
cdq
idiv ecx
push 0x1b
pop edi
cmp edx, edi
jge 0x74a215a7
sub edi, edx
lea eax, [esp + 0x38]
push edi
mov ecx, eax
mov dword [esp + 0x2c], edi
call fcn.74a21f6d
mov ebx, eax
pop ecx
cmp ebx, esi
jne 0x74a218a8
lea eax, [esp + 0x48]
push edi
mov ecx, eax
call fcn.74a21f6d
mov ebx, eax
pop ecx
cmp ebx, esi
jne 0x74a218a8
jmp 0x74a215ab
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x48]
dec eax
mov dword [esp + 0x14], eax
dec edi
sub eax, edi
mov dword [esp + 0x18], eax
mov ebx, eax
lea eax, [esp + 0x48]
mov dword [esp + 0x10], edi
call fcn.74a23af0
mov ebx, eax
test ebx, ebx
jne 0x74a218a8
lea eax, [esp + 0x48]
lea esi, [esp + 0x38]
call fcn.74a20a73
cmp eax, 0xffffffff
je 0x74a2162a
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x18]
lea eax, [eax + ecx*4]
mov dword [esp + 0x24], eax
jmp 0x74a215ff
mov eax, dword [esp + 0x24]
inc dword [eax]
lea eax, [esp + 0x38]
push eax
mov esi, eax
lea ebx, [esp + 0x4c]
call fcn.74a20ca6
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x74a218a8
lea eax, [esp + 0x48]
call fcn.74a20a73
cmp eax, 0xffffffff
jne 0x74a215fb
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x48]
call fcn.74a22d25
mov esi, dword [esp + 0x14]
lea eax, [edi + 1]
mov dword [esp + 0x30], eax
cmp esi, eax
jmp 0x74a21840
cmp esi, dword [esp + 0x38]
jg 0x74a21837
mov eax, dword [esp + 0x44]
lea edx, [eax + esi*4]
mov eax, dword [esp + 0x54]
lea ebx, [eax + edi*4]
mov eax, dword [edx]
mov ecx, dword [ebx]
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], ebx
cmp eax, ecx
jne 0x74a2168b
mov eax, dword [esp + 0x74]
mov edi, esi
sub edi, dword [esp + 0x10]
lea esi, [eax + edi*4 - 4]
mov dword [esp + 0x18], esi
mov dword [esi], 0xfffffff
jmp 0x74a216d4
mov edx, dword [edx - 4]
xor esi, esi
shld esi, eax, 0x1c
xor edi, edi
push edi
push ecx
shl eax, 0x1c
or esi, edi
or eax, edx
push esi
push eax
call fcn.74a2d290
test edx, edx
mov edx, 0xfffffff
ja 0x74a216b3
cmp eax, edx
jbe 0x74a216ba
and dword [esp + 0x1c], 0
mov eax, edx
mov edi, dword [esp + 0x14]
sub edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x74]
lea ecx, [ecx + edi*4 - 4]
and eax, edx
mov dword [esp + 0x18], ecx
mov dword [ecx], eax
mov esi, ecx
mov eax, dword [esi]
inc eax
and eax, 0xfffffff
mov dword [esi], eax
jmp 0x74a216e4
mov ebx, dword [esp + 0x2c]
mov eax, dword [esi]
dec eax
and eax, 0xfffffff
mov dword [esi], eax
lea eax, [esp + 0x58]
call fcn.74a21f4f
mov eax, dword [esp + 0x10]
dec eax
jns 0x74a21702
xor ecx, ecx
jmp 0x74a21705
mov ecx, dword [ebx - 4]
mov eax, dword [esp + 0x64]
mov dword [eax], ecx
mov ecx, dword [ebx]
mov dword [eax + 4], ecx
push dword [esi]
lea eax, [esp + 0x5c]
mov ebx, eax
mov dword [esp + 0x5c], 2
call fcn.74a21aeb
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x74a218a8
mov edx, dword [esp + 0x14]
lea eax, [edx - 2]
test eax, eax
jge 0x74a2173f
xor ecx, ecx
jmp 0x74a21746
mov ecx, dword [esp + 0x44]
mov ecx, dword [ecx + eax*4]
dec edx
mov eax, dword [esp + 0x84]
mov dword [eax], ecx
jns 0x74a21756
xor ecx, ecx
jmp 0x74a2175d
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx - 4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx]
mov dword [eax + 8], ecx
lea edx, [esp + 0x78]
lea eax, [esp + 0x58]
mov dword [esp + 0x78], 3
call fcn.74a21c84
cmp eax, 1
je 0x74a216e0
push dword [esi]
lea eax, [esp + 0x5c]
lea ebx, [esp + 0x4c]
call fcn.74a21aeb
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x74a218a8
dec edi
mov ebx, edi
lea eax, [esp + 0x58]
mov dword [esp + 0x2c], edi
call fcn.74a23af0
mov ebx, eax
test ebx, ebx
jne 0x74a218a8
lea eax, [esp + 0x38]
push eax
mov esi, eax
lea ebx, [esp + 0x5c]
call fcn.74a20ca6
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x74a218a8
cmp dword [esp + 0x40], 1
jne 0x74a21833
lea eax, [esp + 0x58]
lea edi, [esp + 0x48]
call fcn.74a20b9e
mov ebx, eax
test ebx, ebx
jne 0x74a218a8
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x58]
call fcn.74a23af0
mov ebx, eax
test ebx, ebx
jne 0x74a218a8
lea eax, [esp + 0x58]
push eax
mov eax, esi
push eax
call fcn.74a20812
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x74a218a8
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
dec ecx
and ecx, 0xfffffff
mov dword [eax], ecx
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
dec esi
cmp esi, dword [esp + 0x30]
mov dword [esp + 0x14], esi
jge 0x74a21649
xor ebx, ebx
cmp dword [esp + 0x38], ebx
jne 0x74a21858
mov dword [esp + 0x40], ebx
jmp 0x74a21862
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [esp + 0x40], eax
mov esi, dword [ebp + 0x10]
cmp esi, ebx
je 0x74a21883
lea eax, [esp + 0x68]
call fcn.74a21edb
push esi
push eax
call fcn.74a23028
mov eax, dword [esp + 0x3c]
add esp, 8
mov dword [esi + 8], eax
cmp dword [ebp + 0x14], ebx
je 0x74a218a8
push ebx
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x30]
push eax
call fcn.74a22f22
push dword [ebp + 0x14]
lea eax, [esp + 0x4c]
push eax
call fcn.74a23028
add esp, 0x18
lea esi, [esp + 0x48]
call fcn.74a21a3a
lea esi, [esp + 0x38]
call fcn.74a21a3a
lea esi, [esp + 0x78]
call fcn.74a21a3a
lea esi, [esp + 0x58]
call fcn.74a21a3a
lea esi, [esp + 0x68]
call fcn.74a21a3a
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret