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

Disassembly:
sub esp, 0xc0
push ebp
mov ebp, ecx
test dword [ebp + 0x18], 0x20000000
jne 0x7931a3
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x20]
push ebx
mov ebx, dword [esp + 0xcc]
push esi
push edi
mov edi, dword [ecx + 4]
push 1
push ebx
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], eax
call fcn.0077cbb0
cmp dword [ebp + 0x28], eax
lea ecx, [ebp + 0x28]
je 0x792b26
test eax, eax
je 0x792b26
push eax
push ecx
call fcn.007b09f9
add esp, 8
jmp 0x792b28
mov dword [ecx], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp + 0x14], 0
mov eax, dword [eax]
test eax, eax
jne 0x792b4a
mov ecx, dword [edi + 0x7c]
push ecx
push eax
mov ecx, ebp
call fcn.00792a40
add dword [ebp + 0x14], 4
jmp 0x792b69
xor edx, edx
cmp eax, dword [edi + 0x70]
sete dl
lea edx, [edx*4 + 4]
mov dword [ebp + 0x14], edx
test byte [eax + 0x30], 0x10
je 0x792b69
or dword [ebp + 0x18], 0x8000000
mov eax, dword [ebp + 0xc]
cmp eax, 1
mov dword [esp + 0x10], 1
mov dword [esp + 0x1c], eax
jl 0x792bbd
lea ecx, [ecx]
mov ecx, dword [ebp + 8]
push 0
push ebx
lea eax, [esp + 0x20]
push eax
call fcn.0077cbb0
mov ecx, dword [esp + 0x10]
mov esi, eax
push esi
push ecx
mov ecx, ebp
call fcn.00792a40
cmp esi, dword [edi + 0x70]
jne 0x792baa
add dword [ebp + 0x14], 8
jmp 0x792bae
add dword [ebp + 0x14], 4
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
jle 0x792b80
lea edx, [esp + 0x18]
push edx
call fcn.006f1ebf
inc dword [esp + 0x1c]
add esp, 4
test byte [ebp + 0x18], 8
je 0x793199
lea eax, [esp + 0x18]
push eax
call fcn.006f1ebf
mov ecx, dword [ebp + 0x10]
add esp, 4
push ecx
mov ecx, ebp
call fcn.007928e0
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x793199
jmp 0x792c14
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
sub edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x18]
lea esi, [edx + eax + 1]
push ecx
mov dword [esp + 0x2c], esi
call fcn.006f1ebf
mov ecx, dword [esp + 0x1c]
movzx edx, byte [ecx]
inc ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0x2c]
mov esi, dword [ecx + esi*4]
add esp, 4
test esi, esi
jne 0x792c69
test eax, eax
jne 0x792c55
lea edi, [esi + 4]
jmp 0x793179
mov ecx, dword [ebp + 8]
push 0
push edx
push eax
push ebx
call fcn.0077c280
mov edi, eax
jmp 0x793179
cmp esi, dword [edi + 0x7c]
jne 0x792cd5
test eax, eax
jne 0x792c7a
lea edi, [eax + 1]
jmp 0x793179
mov ecx, dword [ebp + 8]
push esi
push edx
push eax
push ebx
call fcn.0077c280
mov edi, eax
cmp edi, 4
jne 0x793179
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 0x28]
push 0
push edx
push eax
lea ecx, [esp + 0x5c]
call fcn.007767e0
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00761900
push 0x44e
mov ecx, ebx
call fcn.0075f390
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
jmp 0x793179
cmp esi, dword [edi + 0x70]
jne 0x792d4f
test eax, eax
jne 0x792ce6
mov edi, dword [edi + 0x14c]
jmp 0x792cf4
mov ecx, dword [ebp + 8]
push esi
push edx
push eax
push ebx
call fcn.0077c280
mov edi, eax
mov eax, edi
and eax, 7
cmp eax, 6
je 0x793179
cmp eax, 7
je 0x793179
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 0x28]
push 0
push edx
push eax
lea ecx, [esp + 0x3c]
call fcn.007767e0
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00761900
push 0x44e
mov ecx, ebx
call fcn.0075f390
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
jmp 0x793179
cmp esi, dword [edi + 0x54]
jne 0x792dcf
test eax, eax
jne 0x792d5d
lea edi, [eax + 5]
jmp 0x792d6b
mov ecx, dword [ebp + 8]
push esi
push edx
push eax
push ebx
call fcn.0077c280
mov edi, eax
mov edx, edi
and edx, 7
cmp dl, 5
je 0x793179
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
push 0
push eax
push ecx
lea ecx, [esp + 0x9c]
call fcn.007767e0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x90]
push edx
call fcn.00761900
push 0x44e
mov ecx, ebx
call fcn.0075f390
xor eax, eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
jmp 0x793179
cmp esi, dword [edi + 0x78]
jne 0x792ef5
test eax, eax
jne 0x792de1
lea edi, [eax + 6]
jmp 0x792def
mov ecx, dword [ebp + 8]
push esi
push edx
push eax
push ebx
call fcn.0077c280
mov edi, eax
mov eax, edi
and eax, 7
mov dword [esp + 0x10], eax
cmp eax, 6
je 0x792e4a
cmp eax, 7
je 0x792e45
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
push 0
push eax
push ecx
lea ecx, [esp + 0x7c]
call fcn.007767e0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x70]
push edx
call fcn.00761900
push 0x44e
mov ecx, ebx
call fcn.0075f390
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x10]
cmp eax, 6
jne 0x792e59
mov eax, edi
sar eax, 3
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
jmp 0x792e60
mov ecx, edi
and ecx, 0xfffffff8
fld qword [ecx]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fld st(0)
or eax, 0xc00
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp qword [esp + 0x20]
mov edx, dword [esp + 0x20]
fldcw word [esp + 0x10]
fild dword [esp + 0x20]
test edx, edx
jge 0x792e92
fadd qword [0x103049e8]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x793179
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
push 0
push eax
push ecx
lea ecx, [esp + 0xbc]
call fcn.007767e0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xb0]
push edx
call fcn.00761900
push 0x44e
mov ecx, ebx
call fcn.0075f390
xor eax, eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
jmp 0x793179
cmp esi, dword [edi + 0x74]
jne 0x792fe6
test eax, eax
jne 0x792f07
lea edi, [eax + 6]
jmp 0x792f15
mov ecx, dword [ebp + 8]
push esi
push edx
push eax
push ebx
call fcn.0077c280
mov edi, eax
mov eax, edi
and eax, 7
mov dword [esp + 0x10], eax
cmp eax, 6
je 0x792f70
cmp eax, 7
je 0x792f6b
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
push 0
push eax
push ecx
lea ecx, [esp + 0x4c]
call fcn.007767e0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x40]
push edx
call fcn.00761900
push 0x44e
mov ecx, ebx
call fcn.0075f390
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x10]
cmp eax, 6
jne 0x792f7f
mov eax, edi
sar eax, 3
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
jmp 0x792f86
mov ecx, edi
and ecx, 0xfffffff8
fld qword [ecx]
fld st(0)
call fcn.00865350
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x793179
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 0x28]
push 0
push edx
push eax
lea ecx, [esp + 0x6c]
call fcn.007767e0
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00761900
push 0x44e
mov ecx, ebx
call fcn.0075f390
xor eax, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
jmp 0x793179
cmp esi, dword [edi + 0x84]
jne 0x79307c
test eax, eax
jne 0x792ffe
lea edi, [eax + 2]
jmp 0x793179
mov ecx, dword [ebp + 8]
push esi
push edx
push eax
push ebx
call fcn.0077c280
mov edi, eax
cmp edi, 4
jb 0x793179
push edi
call fcn.006de86d
add esp, 4
test al, al
jne 0x793179
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 0x28]
push 0
push edx
push eax
lea ecx, [esp + 0x8c]
call fcn.007767e0
lea ecx, [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00761900
push 0x44e
mov ecx, ebx
call fcn.0075f390
xor eax, eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
jmp 0x793179
cmp esi, dword [edi + 0x68]
jne 0x79310c
test eax, eax
jne 0x793091
lea edi, [eax + 3]
jmp 0x793179
mov ecx, dword [ebp + 8]
push esi
push edx
push eax
push ebx
call fcn.0077c280
mov edi, eax
cmp edi, 4
jb 0x793179
push edi
call fcn.007622d0
add esp, 4
test al, al
jne 0x793179
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 0x28]
push 0
push edx
push eax
lea ecx, [esp + 0xac]
call fcn.007767e0
lea ecx, [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00761900
push 0x44e
mov ecx, ebx
call fcn.0075f390
xor eax, eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
jmp 0x793179
test eax, eax
jne 0x793115
lea edi, [eax + 1]
jmp 0x793179
mov ecx, dword [ebp + 8]
push esi
push edx
push eax
push ebx
call fcn.0077c280
mov edi, eax
cmp edi, 4
jb 0x793179
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 0x28]
push 0
push edx
push eax
lea ecx, [esp + 0xcc]
call fcn.007767e0
lea ecx, [esp + 0xc0]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00761900
push 0x44e
mov ecx, ebx
call fcn.0075f390
xor eax, eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov edx, dword [esp + 0x28]
push edi
push edx
mov ecx, ebp
call fcn.00792920
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
jl 0x792c10
or dword [ebp + 0x18], 0x20000000
pop edi
pop esi
pop ebx
pop ebp
add esp, 0xc0
ret 4