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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ebx, 0x72d1859c
cmp eax, 0x19
je 0x788148
cmp eax, 0x1a
jne 0x788193
mov esi, dword [edi + 8]
test esi, esi
je 0x788ac2
mov ebx, 0xd
mov ecx, dword [edi + 4]
mov eax, ecx
imul eax, eax
and eax, 3
cmp eax, 2
sete al
movzx eax, al
xor edx, edx
cmp ecx, eax
jne 0x7881df
mov dword [esp + 0x60], ecx
mov ecx, 2
mov dword [esp + 0x54], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], eax
jmp 0x788a73
mov esi, dword [ebp + 0x30]
mov ecx, dword [ebp + 0x2c]
add ebx, 0x8d2e7a73
mov eax, ebx
xor eax, 0x16
mov dl, al
xor dl, 0x1b
mov byte [esp + 0x60], dl
cmp dword [ebp + 0x28], esi
mov edx, dword [ebp + 0x34]
sbb ecx, edx
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], edx
mov byte [esp + 0x5c], cl
mov byte [esp + 0x64], cl
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], ecx
jae 0x7885a9
jmp 0x7885c3
xor ebx, 0x72d18588
lea esi, [ebx - 7]
mov eax, esi
xor eax, ebx
add al, 0x33
mov dword [esp + 0x5c], eax
movzx eax, al
sub eax, esi
add al, 0xf2
mov dword [esp + 0x60], eax
mov eax, dword [edi + 8]
imul ecx, dword [edi + 4], 0x1c
mov dword [esp + 0x64], ecx
lea ecx, [ecx + 0x1c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00492a60
mov dword [esp + 0x58], eax
mov dword [edi + 8], eax
test eax, eax
jne 0x788382
jmp 0x7882e4
mov eax, ecx
mov dword [esp + 0x54], esi
jmp 0x788aad
mov dword [edi + 4], 0
add ecx, 1
mov eax, 0x70000003
jb 0x7881f0
jmp 0x7884cd
inc dword [edi + 4]
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x58]
mov dword [ecx + ebx + 4], eax
mov eax, dword [edi + 8]
mov ecx, dword [ebp + 0x14]
mov dword [eax + ebx], ecx
mov eax, dword [edi + 8]
mov cl, byte [ebp + 0x18]
mov byte [eax + ebx + 0xc], cl
mov eax, dword [edi + 8]
mov ecx, dword [ebp + 0x1c]
mov dword [eax + ebx + 8], ecx
mov eax, dword [edi + 8]
mov dword [eax + ebx + 0x10], 0
mov eax, dword [edi + 8]
mov ecx, dword [ebp + 0x24]
mov dword [eax + ebx + 0x14], ecx
mov eax, 0x70000003
mov edx, 0xffffffff
test ecx, ecx
je 0x7884ad
mov ebx, edi
mov cl, 4
mov dword [esp + 0x5c], ecx
mov cl, 0x65
movzx edx, cl
cmp edx, 0xf
je 0x788338
mov ecx, 0xf
cmp edx, 0x65
mov edi, ebx
mov ebx, dword [esp + 0x64]
jne 0x7882ae
mov esi, 0x14
mov eax, dword [ebp + 0x24]
mov dword [esp], eax
call fcn.00492770
mov ecx, dword [edi + 8]
mov dword [ecx + ebx + 0x18], eax
mov eax, dword [edi + 8]
mov ecx, dword [eax + ebx + 0x18]
test ecx, ecx
jne 0x7883d4
mov ecx, 1
mov eax, 0x70000003
cmp ecx, 1
je 0x7884cd
mov eax, dword [ebp + 0x24]
mov dword [esp], eax
call fcn.00492770
mov ecx, dword [edi + 8]
mov dword [ecx + ebx + 0x18], eax
mov eax, dword [edi + 8]
mov ecx, dword [eax + ebx + 0x18]
mov eax, 0x70000003
test ecx, ecx
je 0x7884cd
mov esi, 0x1d
mov dl, 0xf
cmp esi, 0xd
mov ebx, dword [esp + 0x64]
jne 0x7883e2
mov eax, dword [esp + 0x60]
movzx eax, al
cmp eax, 0xf
je 0x7884c3
mov byte [esp + 0x54], dl
mov edx, ebx
mov ebx, edi
mov esi, 7
cmp eax, 0x22
je 0x788363
mov edi, 0x19
cmp eax, 0x50
jne 0x7883b0
mov ecx, 0xe
mov eax, 0x70000003
mov edi, ebx
mov ebx, edx
mov edx, dword [esp + 0x5c]
jmp 0x78845d
mov esi, 0xb
mov edi, 0xf
mov eax, dword [ebp + 0x24]
mov dword [esp], eax
call fcn.00492770
mov ecx, dword [ebx + 8]
mov edx, dword [esp + 0x64]
mov dword [ecx + edx + 0x18], eax
mov eax, dword [ebx + 8]
mov ecx, dword [eax + edx + 0x18]
test ecx, ecx
je 0x7883b0
cmp esi, 7
mov edi, ebx
mov ebx, edx
jne 0x7883e2
mov dword [esp + 0x64], ebx
mov ebx, 5
mov al, 0x50
mov dword [esp + 0x60], eax
mov dword [edi + 4], 0
mov eax, 0x70000003
cmp ebx, 5
mov ebx, dword [esp + 0x64]
je 0x7884cd
mov eax, dword [esp + 0x5c]
movzx eax, al
cmp eax, 4
je 0x788206
mov esi, 3
mov eax, 0x70000003
jmp 0x7883ff
mov eax, 0x70000003
cmp edi, 0xf
mov edi, ebx
mov ebx, edx
je 0x7884cd
mov esi, 0xd
mov al, 0x22
mov dword [esp + 0x60], eax
mov dword [edi + 4], 0
mov eax, 0x70000003
cmp esi, 0xd
je 0x7884cd
mov eax, dword [ebp + 0x20]
mov esi, 0x10
mov edx, dword [ebp + 0x24]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.007c51d0
xor eax, eax
cmp esi, 3
jne 0x7884cd
inc dword [edi + 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x58]
mov dword [edx + ebx + 4], ecx
mov ecx, dword [edi + 8]
mov edx, dword [ebp + 0x14]
mov dword [ecx + ebx], edx
mov ecx, dword [edi + 8]
mov dl, byte [ebp + 0x18]
mov byte [ecx + ebx + 0xc], dl
mov ecx, dword [edi + 8]
mov edx, dword [ebp + 0x1c]
mov dword [ecx + ebx + 8], edx
mov ecx, dword [edi + 8]
mov dword [ecx + ebx + 0x10], 0
mov ecx, dword [edi + 8]
mov edx, dword [ebp + 0x24]
mov dword [ecx + ebx + 0x14], edx
mov ecx, 8
test edx, edx
je 0x788486
mov ecx, 0x10
mov dl, 0x4c
mov byte [esp + 0x54], 0x65
cmp ecx, 0xe
jne 0x7884b4
mov edx, 0xffffffff
jmp 0x788481
mov ecx, 2
mov dword [edi + 4], 0
mov eax, 0x70000003
add edx, 1
jb 0x788470
mov edx, 0xffffffff
cmp ecx, 2
je 0x7884cd
jmp 0x7884ad
mov eax, dword [edi + 8]
mov dword [eax + ebx + 0x18], 0
xor eax, eax
add edx, 1
jb 0x7884a0
jmp 0x7884cd
mov dword [esp + 0x5c], edx
mov ebx, edi
mov cl, byte [esp + 0x54]
jmp 0x788262
mov ecx, 0xffffffff
jmp 0x7881f7
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov byte [esp + 0x60], 2
mov dword [esp + 0xc], edx
mov eax, dword [ebp + 0x30]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x28]
mov dword [esp], eax
call fcn.0068e9b0
mov ecx, dword [ebp + 0x40]
or ecx, dword [ebp + 0x44]
je 0x788516
mov edi, 3
test eax, eax
mov ecx, 0x10
je 0x788804
jmp 0x788878
mov ecx, 0x10
jmp 0x788878
mov bl, 0x5c
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
add eax, 1
jb 0x788520
mov byte [esp + 0x5c], bl
mov dword [esp + 0x64], ecx
mov edi, edx
mov ebx, 9
lea esi, [esp + 0x68]
mov dword [esp], esi
mov dword [esp + 8], 0x20
mov dword [esp + 4], 0
call fcn.007c51a0
mov dword [esp + 0x78], 0x7469636f
mov dword [esp + 0x80], edi
mov eax, dword [esp + 0x64]
mov dword [esp + 0x7c], eax
mov dword [esp + 4], esi
mov dword [esp + 8], 0x20
mov dword [esp], 0xfffffffc
call fcn.0068ece0
mov esi, eax
test esi, esi
jne 0x788675
mov eax, 0xe
mov byte [esp + 0x64], 0x19
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 0x34]
mov cl, byte [esp + 0x64]
cmp eax, 0xe
jne 0x788708
mov ebx, 0xa
movzx eax, cl
cmp eax, 0x73
je 0x7885cc
cmp ebx, 0xa
jne 0x788729
mov bl, 0x4f
lea eax, [esp + 0x88]
mov dword [esp + 0x18], eax
mov dword [esp + 4], edi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 8
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x3e
mov dword [esp], 0x18
call fcn.007880d0
mov esi, eax
test esi, esi
jne 0x78896a
movzx eax, bl
cmp eax, 0x4f
je 0x78877a
mov ebx, 0x18
cmp eax, 0x76
jne 0x7888ca
cmp ebx, 9
je 0x78896a
lea eax, [esp + 0x68]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x20
mov dword [esp + 0x14], 0xfffffffc
mov dword [esp + 0x10], 0xff
mov dword [esp + 0xc], 1
mov dword [esp + 8], 3
mov dword [esp], 0x18
call fcn.007880d0
mov esi, eax
jmp 0x78896a
mov eax, dword [ebp + 0x28]
mov ecx, eax
mov dword [esp + 0x88], ecx
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x64], ecx
mov edi, eax
jmp 0x78853f
movzx eax, byte [esp + 0x60]
cmp eax, 2
jne 0x7884d5
mov byte [esp + 0x60], 0xa
mov dword [esp + 0xc], edx
mov edi, dword [ebp + 0x30]
mov dword [esp + 8], edi
mov eax, dword [ebp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x28]
mov dword [esp], eax
mov esi, edx
call fcn.0068e9b0
mov ecx, dword [ebp + 0x40]
or ecx, dword [ebp + 0x44]
je 0x788971
test eax, eax
mov dword [esp + 0x64], edi
mov edi, esi
je 0x78880d
jmp 0x78853f
mov edi, 0xd
lea eax, [esp + 0x68]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x20
mov dword [esp + 0x14], 0xfffffffc
mov dword [esp + 0x10], 0xff
mov dword [esp + 0xc], 1
mov dword [esp + 8], 3
mov dword [esp], 0x18
call fcn.007880d0
mov esi, eax
cmp edi, 3
jne 0x78896a
mov eax, dword [ebp + 0x3c]
mov esi, dword [ebp + 0x38]
mov edx, esi
or edx, eax
mov edx, dword [ebp + 0x34]
cmove eax, edx
mov dword [esp + 0x64], eax
mov ebx, dword [ebp + 0x30]
cmove esi, ebx
mov eax, dword [ebp + 0x28]
sub eax, dword [ebp + 0x40]
mov edx, dword [ebp + 0x2c]
sbb edx, dword [ebp + 0x44]
setb cl
and cl, 1
mov edi, 0
cmovne eax, edi
test cl, cl
mov ecx, 0
cmovne edx, ecx
mov ecx, 0x11
mov byte [esp + 0x5c], 0x33
add eax, esi
mov dword [esp + 0x58], eax
adc edx, dword [esp + 0x64]
mov dword [esp + 0x54], edx
cmp eax, ebx
mov eax, edx
mov edx, dword [ebp + 0x34]
sbb eax, edx
mov dword [esp + 0x64], ebx
mov edi, edx
jb 0x78853f
cmp ecx, 0x10
jne 0x78888c
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x64], eax
mov edi, dword [ebp + 0x34]
jmp 0x78853f
mov bl, byte [esp + 0x5c]
movzx ecx, bl
mov eax, 0xffffffff
cmp ecx, 0x33
jne 0x78897c
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
jmp 0x7888c0
mov bl, 0x33
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
add eax, 1
jb 0x7888b0
jmp 0x788535
mov edi, 0xffffffff
lea ebx, [esp + 0x68]
jmp 0x788961
mov dword [esp + 0x18], ebx
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x20
mov dword [esp + 0x14], 0xfffffffc
mov dword [esp + 0x10], 0xff
mov dword [esp + 0xc], 1
mov dword [esp + 8], 3
mov dword [esp], 0x18
call fcn.007880d0
mov esi, eax
add edi, 1
jb 0x7888e0
mov eax, esi
jmp 0x7884cd
mov dword [esp + 0x64], edi
mov edi, esi
jmp 0x78853f
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
jmp 0x788530
mov eax, edi
imul eax, eax
and eax, 3
cmp eax, 2
adc edi, 0
mov dword [esp], ebx
call fcn.004936c0
mov eax, dword [esi + 4]
test edi, edi
jne 0x788a4c
mov ecx, edi
and ecx, 1
xor ecx, edi
not ecx
test ecx, ecx
jne 0x788990
jmp 0x788a4c
mov ecx, 7
mov edx, eax
not edx
and edx, 1
add edx, eax
setne dl
movzx edx, dl
add eax, edx
mov esi, dword [edi + 8]
mov edx, eax
and edx, 1
xor edx, eax
cmp edx, 0xffffffff
setne dl
movzx edx, dl
cmp eax, edx
jb 0x7889d0
mov dword [esp + 0x64], esi
mov esi, edi
xor edi, edi
cmp ecx, 7
jne 0x7889a9
mov eax, 3
sub eax, ecx
xor eax, ecx
je 0x7889a9
mov edi, esi
jmp 0x788a8d
mov edi, esi
mov ecx, dword [edi + 8]
mov dword [esp + 0x54], ecx
mov esi, dword [esp + 0x64]
mov dword [esp + 0x64], esi
mov esi, edi
mov ecx, 0x14
imul edi, edx, 0x1c
mov ebx, dword [esp + 0x54]
mov ebx, dword [ebx + edi + 0x18]
test ebx, ebx
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], edx
jne 0x788a03
mov edx, dword [esp + 0x58]
mov ecx, edx
imul ecx, ecx
and ecx, 3
cmp ecx, 2
adc edx, 0
cmp edx, eax
jb 0x788a19
mov ecx, 0xe
mov edi, edx
and edi, 1
inc edi
xor edi, edx
je 0x788a19
mov edi, esi
cmp ecx, 2
je 0x788a8d
mov eax, ecx
and eax, 1
inc eax
xor eax, ecx
je 0x788a8d
xor eax, eax
mov esi, dword [esp + 0x64]
jmp 0x7889e9
mov esi, dword [esp + 0x64]
mov ebx, 0xe
mov dword [esp], esi
call fcn.004936c0
mov dword [edi + 8], 0
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
cmp ebx, 0xd
jne 0x788ac2
mov ecx, ebx
or ecx, 2
xor ebx, 2
add ebx, ecx
jne 0x788a26
xor eax, eax
jmp 0x7884cd