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

Disassembly:
sub esp, 0x4a8
push ebx
push ebp
push esi
push edi
push dword [esp + 0x4c4]
xor edi, edi
push dword [esp + 0x4c4]
push dword [esp + 0x4c4]
push edi
push ecx
call fcn.007fe550
mov dword [esp + 0xac], 0xeddf8
add esp, 0x14
mov dword [esp + 0x9c], 0xb955c9
xor edx, edx
mov dword [esp + 0xa0], edi
mov ecx, 0x134a4f
mov dword [esp + 0xa4], edi
mov dword [esp + 0x20], 0xba2f0d
add dword [esp + 0x20], 0x52cd
mov eax, dword [esp + 0x20]
push 0x47
pop esi
div esi
push 0x50
mov dword [esp + 0x24], eax
xor edx, edx
xor dword [esp + 0x24], 0x249c398e
xor dword [esp + 0x24], 0x249e99dd
mov dword [esp + 0x74], 0x6f8afd
or dword [esp + 0x74], 0xab6a66c2
xor dword [esp + 0x74], 0xab6feeff
mov dword [esp + 0x6c], 0x8d99f6
imul eax, dword [esp + 0x6c], 0x49
pop esi
push 0x39
mov dword [esp + 0x6c], eax
xor dword [esp + 0x6c], 0x9b2e4202
xor dword [esp + 0x6c], 0xb34ea524
mov dword [esp + 0x7c], 0xacc149
mov eax, dword [esp + 0x7c]
div esi
xor edx, edx
mov dword [esp + 0x7c], eax
xor dword [esp + 0x7c], 0xcac1b
mov dword [esp + 0x5c], 0xdad54c
add dword [esp + 0x5c], 0xffff4c40
add dword [esp + 0x5c], 0xffff8c51
xor dword [esp + 0x5c], 0xd7f0bc
mov dword [esp + 0x2c], 0xa76fde
shl dword [esp + 0x2c], 0x10
shl dword [esp + 0x2c], 9
xor dword [esp + 0x2c], 0x1b77046d
xor dword [esp + 0x2c], 0xa777ceb9
mov dword [esp + 0x54], 0xfaa8be
mov eax, dword [esp + 0x54]
pop esi
div esi
mov dword [esp + 0x50], eax
add dword [esp + 0x50], 0xf54a
xor dword [esp + 0x50], 0xdc4e4
mov dword [esp + 0x48], 0xea10b8
imul eax, dword [esp + 0x48], 0x2b
mov dword [esp + 0x48], eax
add dword [esp + 0x48], 0xffff2c8a
xor dword [esp + 0x48], 0x274b0b01
mov dword [esp + 0x6c], 0x35ad85
imul eax, dword [esp + 0x6c], 0x2c
mov dword [esp + 0x6c], eax
xor dword [esp + 0x6c], 0x9330cbc
mov dword [esp + 0x14], 0xf73409
shl dword [esp + 0x14], 0xd
or dword [esp + 0x14], 0xa2aefe41
shl dword [esp + 0x14], 7
xor dword [esp + 0x14], 0x57fa9ca5
mov dword [esp + 0x54], 0x86866c
or dword [esp + 0x54], 0x7f601198
add dword [esp + 0x54], 0x98fb
xor dword [esp + 0x54], 0x7fe0de1c
mov dword [esp + 0x74], 0x20b2c0
xor dword [esp + 0x74], 0x5e7d08a0
xor dword [esp + 0x74], 0x5e53c20f
xor edx, edx
mov dword [esp + 0x3c], 0x8f6782
shr dword [esp + 0x3c], 0xf
imul eax, dword [esp + 0x3c], 0x22
push 0x13
pop esi
mov dword [esp + 0x3c], eax
xor dword [esp + 0x3c], 0x71d63
mov dword [esp + 0x24], 0x9612de
shr dword [esp + 0x24], 2
xor dword [esp + 0x24], 0xc761886
xor dword [esp + 0x24], 0x4017408a
xor dword [esp + 0x24], 0x4c434054
mov dword [esp + 0x2c], 0x24f56
add dword [esp + 0x2c], 0x72e4
shr dword [esp + 0x2c], 9
add dword [esp + 0x2c], 0x6ad9
xor dword [esp + 0x2c], 0xcb9b
mov dword [esp + 0x44], 0x6c4f68
xor dword [esp + 0x44], 0x964acb29
add dword [esp + 0x44], 0x642e
xor dword [esp + 0x44], 0x96209dd4
mov dword [esp + 0x1c], 0xd95179
shr dword [esp + 0x1c], 0xc
shl dword [esp + 0x1c], 0xc
shl dword [esp + 0x1c], 0xf
xor dword [esp + 0x1c], 0xa808a78b
mov dword [esp + 0x8c], 0x1d12b6
xor dword [esp + 0x8c], 0xcedd662f
xor dword [esp + 0x8c], 0xceca5d90
mov dword [esp + 0x18], 0xc976c8
shl dword [esp + 0x18], 0xa
add dword [esp + 0x18], 0xd385
shr dword [esp + 0x18], 0xe
xor dword [esp + 0x18], 0x8acc0
mov dword [esp + 0x64], 0x44658e
or dword [esp + 0x64], 0xc906c1d6
imul eax, dword [esp + 0x64], 0xe
mov dword [esp + 0x64], eax
xor dword [esp + 0x64], 0x1ea37a3
mov dword [esp + 0x10], 0x8f20f1
shr dword [esp + 0x10], 2
imul eax, dword [esp + 0x10], 0x39
mov dword [esp + 0x10], eax
or dword [esp + 0x10], 0x6596515b
xor dword [esp + 0x10], 0x67f47e4d
mov dword [esp + 0x38], 0x903783
add dword [esp + 0x38], 0xac4e
mov eax, dword [esp + 0x38]
div esi
mov dword [esp + 0x38], eax
xor dword [esp + 0x38], 0xfcdd8
mov dword [esp + 0x5c], 0x692295
or dword [esp + 0x5c], 0xb508f0f8
xor dword [esp + 0x5c], 0x1bd74123
xor dword [esp + 0x5c], 0xaebe1873
mov dword [esp + 0x4c], 0xb1b6ca
add dword [esp + 0x4c], 0xffff0063
add dword [esp + 0x4c], 0xffffdc98
xor dword [esp + 0x4c], 0xb6ae54
mov dword [esp + 0x94], 0x1159f5
imul eax, dword [esp + 0x94], 0x5f
mov dword [esp + 0x94], eax
xor dword [esp + 0x94], 0x67e2d0a
mov dword [esp + 0x7c], 0x1c6847
xor dword [esp + 0x7c], 0xf4aaf78e
xor dword [esp + 0x7c], 0xf4bf4ff2
mov dword [esp + 0x34], 0xea6d2b
imul eax, dword [esp + 0x34], 0x1b
mov dword [esp + 0x34], eax
shl dword [esp + 0x34], 0xe
xor dword [esp + 0x34], 0x60efb63f
mov dword [esp + 0x90], 0x892506
shl dword [esp + 0x90], 0x10
xor dword [esp + 0x90], 0x2500704d
mov dword [esp + 0x40], 0x9fb2c4
or dword [esp + 0x40], 0xce1479c4
shl dword [esp + 0x40], 5
xor dword [esp + 0x40], 0xd3f519e5
mov dword [esp + 0x84], 0x18f4b3
imul eax, dword [esp + 0x84], 0x73
mov ebx, 0xa233a5f
mov ebp, 0xcb84429
mov dword [esp + 0x84], eax
xor dword [esp + 0x84], 0xb3264b5
mov dword [esp + 0x30], 0xcfb749
add dword [esp + 0x30], 0x8a09
imul eax, dword [esp + 0x30], 0x48
mov dword [esp + 0x30], eax
shl dword [esp + 0x30], 0xf
xor dword [esp + 0x30], 0x2f8cc5be
mov dword [esp + 0x88], 0xee1492
add dword [esp + 0x88], 0xffffa792
xor dword [esp + 0x88], 0xe3b081
mov dword [esp + 0x60], 0xbb615a
add dword [esp + 0x60], 0xffff2508
shr dword [esp + 0x60], 0xa
xor dword [esp + 0x60], 0x1e42e
mov dword [esp + 0x80], 0x731f9e
or dword [esp + 0x80], 0x19818a52
xor dword [esp + 0x80], 0x19fd935d
cmp ecx, 0x134a4f
je 0x7ece94
cmp ecx, 0xe1a2f1
je 0x7ece0e
cmp ecx, ebx
je 0x7ecec8
cmp ecx, ebp
jne 0x7ecdfd
push dword [esp + 0x14]
mov ecx, 0x7e13f0
push dword [esp + 0x70]
mov edx, dword [esp + 0x50]
call fcn.007eadf2
push dword [esp + 0x2c]
mov esi, eax
lea eax, [esp + 0xb4]
push eax
push esi
push dword [esp + 0x50]
mov eax, dword [0x806210]
add eax, 0x18
push eax
push dword [esp + 0x90]
lea eax, [esp + 0x2d0]
push eax
push dword [esp + 0x78]
mov ecx, dword [0x806210]
lea ecx, [ecx + 0x224]
call fcn.007f8047
push dword [esp + 0xb4]
mov ecx, esi
push dword [esp + 0x48]
push dword [esp + 0x74]
mov edx, dword [esp + 0x60]
call fcn.007f88a3
add esp, 0x34
mov ecx, ebx
jmp 0x7ecd5f
cmp ecx, 0xcf185ab
jne 0x7ecd5f
jmp 0x7ecf01
push dword [esp + 0x10]
mov ecx, 0x7e1470
push dword [esp + 0x68]
mov edx, dword [esp + 0x20]
call fcn.007eadf2
mov esi, eax
lea ecx, [esp + 0xb0]
push esi
push edi
push dword [esp + 0x8c]
push dword [esp + 0xa8]
push dword [esp + 0x64]
mov eax, dword [0x806210]
add eax, 0x18
push eax
push dword [esp + 0x7c]
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x2d4]
push eax
mov eax, dword [0x806210]
add eax, 0x224
push eax
push 0x104
call fcn.007f8ece
push dword [esp + 0xb4]
mov ecx, esi
push dword [esp + 0x74]
push dword [esp + 0xc8]
mov edx, dword [esp + 0x70]
call fcn.007f88a3
add esp, 0x3c
jmp 0x7ecdf6
push ecx
push dword [esp + 0x24]
lea eax, [esp + 0xb0]
push dword [esp + 0x78]
push ecx
push dword [esp + 0x60]
push dword [esp + 0x3c]
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x90]
push eax
call fcn.007e2b18
add esp, 0x1c
mov ecx, ebp
jmp 0x7ecd5f
push dword [esp + 0x80]
lea eax, [esp + 0x2b4]
xor edx, edx
push dword [esp + 0x64]
push dword [esp + 0x90]
push edi
push eax
push dword [esp + 0x44]
mov ecx, dword [esp + 0x80]
push edi
call fcn.007fc328
xor ecx, ecx
add esp, 0x1c
inc ecx
test eax, eax
cmovne edi, ecx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4a8
ret