Function at 0x717670
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x3c
push ebx
push ebp
mov ebp, dword [esp + 0x48]
push edi
mov edi, ecx
xor ebx, ebx
mov eax, dword [ebp]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x717690
mov eax, dword [eax + 4]
jmp 0x717692
xor eax, eax
push eax
lea ecx, [edi + 0x18]
call fcn.00708af0
mov ecx, dword [ebp + 0x2c]
mov dword [edi + 0x40], ecx
mov dl, byte [ebp + 0x30]
mov byte [edi + 0x44], dl
mov dword [edi + 0x48], ebx
mov byte [edi + 0x45], 0
mov eax, dword [ebp + 0x38]
mov dword [edi + 0x4c], eax
mov eax, dword [ebp]
cmp eax, ebx
je 0x7176c4
mov ecx, dword [eax + 0x10c]
mov dword [edi + 0x4c], ecx
mov eax, dword [esp + 0x54]
mov edx, dword [eax]
mov dword [edi + 0x54], edx
mov ecx, dword [eax + 4]
mov dword [edi + 0x58], ecx
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x58]
lea ecx, [edi + 0x60]
push eax
mov dword [edi + 0x5c], edx
call fcn.00708af0
mov dword [edi + 0x70], ebx
mov dword [edi + 0x74], ebx
mov dword [edi + 0x78], ebx
mov dword [edi + 0x7c], ebx
mov ecx, dword [edi + 0x50]
mov dword [ecx + 0x4c], edi
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x50]
mov eax, dword [eax + 0x84]
mov edx, dword [ecx]
push eax
call dword [edx + 0x114]
mov eax, dword [edi + 0x14]
cmp eax, ebx
je 0x717735
mov ecx, dword [edi + 0x50]
mov eax, dword [eax + 0x34]
push eax
mov edx, dword [ecx]
call dword [edx + 0xd4]
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x50]
mov eax, dword [eax + 0x38]
mov edx, dword [ecx]
push eax
call dword [edx + 0xd8]
mov eax, dword [edi + 0x50]
push esi
mov ecx, dword [eax + 0x38]
or ecx, 0x20000
mov dword [eax + 0x38], ecx
mov ecx, dword [edi + 0x50]
mov ecx, dword [ecx + 0x3c]
cmp ecx, ebx
je 0x717777
mov edx, dword [ecx]
call dword [edx + 0x10]
test eax, eax
je 0x717777
mov eax, dword [edi + 0x50]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ecx]
call dword [edx + 0x10]
mov ecx, dword [edi + 0x14]
push eax
mov ecx, dword [ecx + 0x20]
push ecx
call fcn.007904e4
add esp, 8
test eax, eax
je 0x7177f3
mov edx, dword [edi + 0x14]
mov ecx, dword [0x830720]
mov eax, dword [edx + 0x20]
mov edx, dword [ecx]
push eax
call dword [edx + 0x14]
mov esi, eax
cmp esi, ebx
jne 0x7177a1
mov ecx, dword [0x830720]
push str.NULL
mov eax, dword [ecx]
call dword [eax + 0x14]
mov esi, eax
mov ecx, dword [edi + 0x50]
push esi
mov edx, dword [ecx]
call dword [edx + 0x4c]
cmp esi, ebx
je 0x7177e9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov ecx, dword [edi + 0x14]
push eax
mov edx, dword [ecx + 0x20]
push edx
call fcn.007904e4
mov eax, dword [edi + 0x14]
push ebx
mov eax, dword [eax + 0x20]
push eax
call fcn.005e6c50
mov dword [edi + 0x80], eax
mov eax, dword [esi + 4]
add esp, 0x10
dec eax
mov dword [esi + 4], eax
jne 0x7177f3
mov edx, dword [esi]
mov ecx, esi
call dword [edx]
jmp 0x7177f3
mov dword [edi + 0x80], 0xffffffff
mov ecx, dword [edi + 0x50]
fld dword [ecx + 0x8c]
fcomp dword [0x7cd780]
fnstsw ax
test ah, 1
je 0x717810
call fcn.006427e0
jmp 0x717816
mov dword [ecx + 0xdc], ebx
mov eax, dword [edi + 0x50]
push eax
call fcn.00670ae0
mov ecx, eax
call fcn.00622070
mov eax, dword [edi + 0x14]
add eax, 0x2c
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x717a77
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, ebx
je 0x717a77
mov ecx, dword [0x8294dc]
push ebx
add eax, 0x14
push 4
lea edx, [ecx*4 + 0x8294b4]
push eax
push edx
call fcn.0045cba0
mov eax, dword [0x8294dc]
add esp, 0x10
lea esi, [eax*4 + 0x8294b4]
inc eax
cmp eax, 8
mov dword [esp + 0x14], esi
mov dword [0x8294dc], eax
jl 0x717886
mov dword [0x8294dc], ebx
push ebx
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 4
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x717a6b
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], ebx
sub edx, ecx
cmp edx, eax
jne 0x7178d4
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x7178e7
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x717901
mov ecx, 0x83f450
call fcn.005ddd50
mov byte [0x81c644], 1
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [0x83f450]
cmp eax, ecx
jbe 0x717915
sub eax, ecx
jmp 0x71791d
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x71793d
mov edx, eax
or edx, ecx
je 0x71793d
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x717a6b
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x717a6b
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, ebx
mov byte [0x81c6fc], 1
not eax
jle 0x7179d0
mov dword [esp + 0x58], 0x820e44
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x58]
mov ecx, dword [ecx]
test ecx, ecx
je 0x7179b2
mov esi, dword [ecx + 4]
test esi, esi
jle 0x7179b2
mov edx, dword [ecx]
mov ebp, dword [edx + 0xc]
sar ebp, 2
test edx, edx
je 0x7179b2
test esi, esi
jle 0x7179b2
mov ebx, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test ebp, ebp
jle 0x7179ac
mov esi, ebp
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x7179a4
mov edx, dword [edx + 4]
dec ebx
jne 0x717997
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
add edx, 4
dec ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ecx
jne 0x717974
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x50]
cmp eax, dword [0x8294d8]
je 0x7179e3
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor ebx, ebx
cmp eax, ebx
je 0x717a62
mov eax, dword [0x829464]
mov dword [esp + 0x58], ebx
cmp eax, ebx
je 0x717a28
lea edx, [esp + 0x58]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x717a1d
mov eax, dword [esp + 0x58]
cmp eax, ebx
je 0x717a1d
cmp dword [eax], 0x29874362
je 0x717a28
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [esp + 0x58], ebx
cmp eax, ebx
je 0x717a62
lea ecx, [esp + 0x58]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x717a57
mov eax, dword [esp + 0x58]
cmp eax, ebx
je 0x717a57
cmp dword [eax], 0xbad0bad
je 0x717a62
inc dword [0x8294f0]
call fcn.0045dca0
mov byte [0x81c6fc], 0
xor ebx, ebx
cmp esi, ebx
je 0x717a77
mov edx, dword [esi]
mov dword [esp + 0x14], edx
jmp 0x717a80
mov eax, dword [0x89fe2c]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x14]
add eax, 0x30
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x717cd1
push eax
call fcn.0045c0b0
add esp, 4
cmp eax, ebx
je 0x717ccf
mov ecx, dword [0x8294dc]
xor esi, esi
push esi
add eax, 0x14
push 4
lea edx, [ecx*4 + 0x8294b4]
push eax
push edx
call fcn.0045cba0
mov eax, dword [0x8294dc]
add esp, 0x10
lea ebx, [eax*4 + 0x8294b4]
inc eax
cmp eax, 8
mov dword [esp + 0x18], ebx
mov dword [0x8294dc], eax
jl 0x717ae2
mov dword [0x8294dc], esi
push esi
call fcn.0045d120
mov eax, dword [0x81c700]
add esp, 4
inc eax
cmp eax, 0x186a0
mov dword [0x81c700], eax
jb 0x717cc5
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, eax
mov dword [0x81c700], esi
sub edx, ecx
cmp edx, eax
jne 0x717b30
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x820dd0]
mov ecx, dword [0x829478]
mov edx, ecx
sub edx, eax
cmp edx, ecx
jne 0x717b43
inc dword [0x8294f0]
call fcn.0045dca0
mov al, byte [0x81c644]
test al, al
jne 0x717b5d
mov ecx, 0x83f450
call fcn.005ddd50
mov byte [0x81c644], 1
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [0x83f450]
cmp eax, ecx
jbe 0x717b71
sub eax, ecx
jmp 0x717b79
mov ecx, dword [0x83f454]
add eax, ecx
mov ecx, dword [0x829468]
cmp eax, ecx
jb 0x717b99
mov edx, eax
or edx, ecx
je 0x717b99
mov edx, eax
sub edx, ecx
cmp edx, 0x3a98
jbe 0x717cc5
mov cl, byte [0x81c6fc]
test cl, cl
jne 0x717cc5
mov ecx, dword [0x8294e8]
mov dword [0x829468], eax
mov eax, dword [0x829478]
cmp ecx, esi
mov byte [0x81c6fc], 1
not eax
jle 0x717c28
mov dword [esp + 0x5c], 0x820e44
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x5c]
mov ecx, dword [ecx]
test ecx, ecx
je 0x717c0e
mov esi, dword [ecx + 4]
test esi, esi
jle 0x717c0e
mov edx, dword [ecx]
mov ebp, dword [edx + 0xc]
sar ebp, 2
test edx, edx
je 0x717c0e
test esi, esi
jle 0x717c0e
mov ebx, esi
mov ecx, dword [edx]
xor eax, ecx
lea ecx, [edx + 0x14]
test ebp, ebp
jle 0x717c08
mov esi, ebp
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x717c00
mov edx, dword [edx + 4]
dec ebx
jne 0x717bf3
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x10]
add edx, 4
dec ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x10], ecx
jne 0x717bd0
mov ebx, dword [esp + 0x18]
cmp eax, dword [0x8294d8]
je 0x717c3b
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294e8]
xor esi, esi
cmp eax, esi
je 0x717cba
mov eax, dword [0x829464]
mov dword [esp + 0x5c], esi
cmp eax, esi
je 0x717c80
lea edx, [esp + 0x5c]
push edx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x717c75
mov eax, dword [esp + 0x5c]
cmp eax, esi
je 0x717c75
cmp dword [eax], 0x29874362
je 0x717c80
inc dword [0x8294f0]
call fcn.0045dca0
mov eax, dword [0x8294b0]
mov dword [esp + 0x5c], esi
cmp eax, esi
je 0x717cba
lea ecx, [esp + 0x5c]
push ecx
push eax
call fcn.00407b70
add esp, 8
test al, al
je 0x717caf
mov eax, dword [esp + 0x5c]
cmp eax, esi
je 0x717caf
cmp dword [eax], 0xbad0bad
je 0x717cba
inc dword [0x8294f0]
call fcn.0045dca0
mov ebp, dword [esp + 0x50]
mov byte [0x81c6fc], 0
test ebx, ebx
je 0x717ccf
fld dword [ebx]
xor ebx, ebx
jmp 0x717cd7
xor ebx, ebx
fld dword [0x89fe2c]
fld dword [esp + 0x14]
fdiv st(1)
mov ecx, dword [edi + 0x50]
push ecx
mov edx, dword [ecx]
fmul dword [0x7d8038]
fstp dword [esp]
fstp st(0)
call dword [edx + 0x10c]
mov esi, dword [edi + 0x50]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x18]
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x28], edx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x30], edx
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x38], edx
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 0x24]
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x40], edx
mov eax, dword [eax + 0x28]
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x38], edx
mov edx, dword [esi]
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], ecx
push eax
mov ecx, esi
call dword [edx + 0x1c]
mov ecx, dword [edi + 0x50]
lea eax, [ebp + 0x20]
push eax
mov edx, dword [ecx]
call dword [edx + 0xf8]
mov ecx, dword [edi + 0x50]
mov ecx, dword [ecx + 0x3c]
mov edx, dword [ecx]
call dword [edx + 0x30]
mov eax, dword [ebp + 0xc]
pop esi
cmp eax, ebx
je 0x717dba
cmp dword [eax + 4], ebx
je 0x717dba
cmp eax, ebx
je 0x717d9b
mov eax, dword [eax + 4]
jmp 0x717d9d
xor eax, eax
mov edx, dword [eax + 0x774]
mov ecx, dword [edx + 0x38]
mov eax, ecx
and ecx, 0xfffffff
shr eax, 0x1c
inc eax
shl eax, 0x1c
or eax, ecx
mov dword [edx + 0x38], eax
mov ecx, dword [edi + 0x50]
mov edx, dword [esp + 0x50]
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x717dfb
cmp dword [eax + 4], ebx
je 0x717dfb
cmp eax, ebx
je 0x717ddc
mov eax, dword [eax + 4]
jmp 0x717dde
xor eax, eax
mov edx, dword [eax + 0x774]
mov ecx, dword [edx + 0x38]
mov eax, ecx
and ecx, 0xfffffff
shr eax, 0x1c
dec eax
shl eax, 0x1c
or eax, ecx
mov dword [edx + 0x38], eax
pop edi
pop ebp
pop ebx
add esp, 0x3c
ret 0x10