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

Disassembly:
sub esp, 0x9c
push ebx
push ebp
mov ebp, dword [esp + 0xa8]
push esi
push edi
mov edi, dword [esp + 0xb8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x14], ebx
je 0x19eeb3
mov ecx, dword [ebx + 0x244]
mov dword [esp + 0x50], ecx
xor eax, eax
cmp dword [esp + 0xb4], eax
je 0x19f958
mov edx, dword [0x4e73e0]
cmp dword [edx + 0x209c], eax
setne al
test eax, eax
mov dword [esp + 0x98], eax
je 0x19eeeb
push 0
push 0
push 0
push 1
push 0x4d
call fcn.0008dca0
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0xc0]
mov edx, dword [ecx]
test dl, 1
mov esi, dword [eax + 0x14c]
mov dword [esp + 0x38], esi
jne 0x19f89e
cmp dword [ebp + 0x4c60], 0
jne 0x19f89e
test esi, esi
je 0x19f89e
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax]
mov dword [esp + 0x74], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x78], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0xc4]
mov eax, ecx
mov esi, dword [eax]
mov dword [esp + 0x84], esi
mov esi, dword [eax + 4]
mov dword [esp + 0x88], esi
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x90], eax
mov eax, dword [edi + 0xdc]
mov dword [esp + 0x8c], esi
mov esi, dword [eax + 4]
mov edi, dword [eax + 8]
xor eax, eax
add esi, 3
and esi, 0xfffffffc
cmp dword [ecx], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], edi
jne 0x19efc5
cmp dword [ecx + 4], eax
jne 0x19efc5
cmp esi, dword [ecx + 8]
jne 0x19efc5
cmp edi, dword [ecx + 0xc]
jne 0x19efc5
mov ecx, dword [esp + 0xc0]
mov eax, dword [ecx + 0xdc]
cmp esi, dword [eax + 4]
je 0x19efe8
mov ecx, dword [esp + 0xb4]
or edx, 0x10000
mov dword [ecx], edx
lea edx, [esp + 0x54]
mov eax, edx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc4], eax
cmp dword [ebp + 0x4cc8], 0
mov dword [esp + 0x3c], esi
je 0x19f01c
cmp dword [ebp + 0x4cd0], 0
je 0x19f01c
mov ecx, dword [ebp + 0x4cc4]
call fcn.00091370
cmp eax, esi
jb 0x19f01c
mov ecx, dword [ebp + 0x4cc4]
call fcn.00091310
cmp eax, edi
jae 0x19f090
shr esi, 1
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 0
lea esi, [ebp + 0x4ccc]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
push 0
push 0
push 0
push ecx
push edx
push 0x59595959
lea edi, [esi - 8]
push edi
push ebp
call fcn.001095b0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push 0
push 0
push 0
push eax
push ecx
push 0x56555655
push esi
push ebp
call fcn.001095b0
cmp dword [edi], 0
je 0x19f11b
cmp dword [esi], 0
je 0x19f11b
mov eax, dword [esp + 0x20]
add eax, 1
add esi, 4
cmp eax, 2
mov dword [esp + 0x20], eax
jb 0x19f030
lea esi, [ebp + 0x4ccc]
mov dword [esp + 0x18], 2
mov edi, edi
test ebx, ebx
je 0x19f143
cmp dword [ebx + 0x138], 0
jne 0x19f143
cmp dword [ebx + 0x13c], 0
jne 0x19f143
mov edi, dword [esi - 8]
cmp dword [edi + 0x140], 0
mov dword [edi + 0x124], 2
mov dword [edi + 0x12c], 1
jne 0x19f0ef
mov ecx, edi
call fcn.00091310
mov dword [edi + 0x128], eax
mov edi, dword [esi]
cmp dword [edi + 0x140], 0
mov dword [edi + 0x124], 2
mov dword [edi + 0x12c], 1
jne 0x19f19a
mov ecx, edi
call fcn.00091310
jmp 0x19f194
cmp dword [esp + 0x98], 0
je 0x19f134
push 0
push 0
push 0
push 2
push 0x4d
call fcn.0008dca0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret 0x18
mov edi, dword [esi - 8]
cmp dword [edi + 0x140], 0
mov eax, 2
mov dword [edi + 0x124], eax
mov dword [edi + 0x12c], eax
jne 0x19f16f
mov ecx, edi
call fcn.00091310
shr eax, 1
mov dword [edi + 0x128], eax
mov edi, dword [esi]
cmp dword [edi + 0x140], 0
mov eax, 2
mov dword [edi + 0x124], eax
mov dword [edi + 0x12c], eax
jne 0x19f19a
mov ecx, edi
call fcn.00091310
shr eax, 1
mov dword [edi + 0x128], eax
mov eax, dword [esi - 8]
mov ecx, 1
or dword [eax + 0x244], ecx
mov eax, dword [esi - 8]
mov edi, 0xfffffffd
and dword [eax + 0x244], edi
mov eax, dword [esi - 8]
mov edx, 4
or dword [eax + 0x244], edx
mov eax, dword [esi - 8]
or dword [eax + 0x244], 0x20
mov eax, dword [esi]
or dword [eax + 0x244], ecx
mov eax, dword [esi]
and dword [eax + 0x244], edi
mov eax, dword [esi]
or dword [eax + 0x244], edx
mov eax, dword [esi]
or dword [eax + 0x244], 0x20
add esi, edx
sub dword [esp + 0x18], ecx
jne 0x19f0a0
xor edx, edx
cmp ebx, edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], edx
je 0x19f574
cmp dword [ebx + 0x138], edx
mov eax, dword [ebx + 0x23c]
mov dword [esp + 0x3c], eax
jne 0x19f227
cmp dword [ebx + 0x13c], edx
je 0x19f264
cmp dword [ebx + 0x134], edx
jne 0x19f264
cmp dword [ebx + 0x148], edx
mov eax, dword [esp + 0xb4]
je 0x19f376
test byte [ebx + 0x244], 1
je 0x19f250
test byte [eax], 2
jne 0x19f264
mov ecx, dword [eax]
test cl, 4
je 0x19f376
test cl, 0x10
jne 0x19f376
cmp dword [ebx + 0x148], edx
je 0x19f2c0
mov edi, dword [ebp + 0x4cc4]
add edi, 0x204
lea esi, [ebx + 0x204]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0x4cc4]
add edx, 0x234
lea ecx, [ebx + 0x234]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ecx + 0x14]
mov dword [edx + 0x14], ecx
or dword [ebx + 0x244], 0x27
mov esi, dword [esp + 0xbc]
mov edx, dword [ebp + 0x4cc4]
mov edi, dword [esp + 0xb8]
push esi
push edx
push esi
push edi
mov ecx, ebp
call fcn.001b2690
mov eax, dword [ebp + 0x4ccc]
push esi
push eax
push esi
push edi
mov ecx, ebp
call fcn.001b2690
test ebx, ebx
je 0x19f34a
cmp dword [ebx + 0x148], 0
jne 0x19f34a
mov edi, dword [ebp + 0x4cc4]
lea esi, [ebx + 0x204]
add ebx, 0x234
add edi, 0x204
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebx]
mov ecx, dword [ebp + 0x4cc4]
add ecx, 0x234
mov dword [ecx], edx
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
mov edx, dword [ebx + 8]
mov dword [ecx + 8], edx
mov eax, dword [ebx + 0xc]
mov dword [ecx + 0xc], eax
mov edx, dword [ebx + 0x10]
mov dword [ecx + 0x10], edx
mov eax, dword [ebx + 0x14]
mov dword [ecx + 0x14], eax
mov ebx, dword [ebp + 0x4cc4]
mov ecx, dword [ebp + 0x4ccc]
mov eax, 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x14], ebx
mov dword [ebx + 0x14c], ecx
xor edx, edx
test byte [eax], 2
je 0x19f3a9
test byte [ebx + 0x244], 1
je 0x19f3a9
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0xb4]
push edx
push eax
push ebp
call fcn.0019f970
mov ebx, eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x14], ebx
xor edx, edx
mov dword [eax + 0x178], edx
test byte [eax + 2], 2
mov dword [esp + 0x1c], edx
je 0x19f4e1
mov ecx, ebx
call fcn.00091310
mov edi, eax
mov ecx, ebx
mov dword [esp + 0x18], edi
call fcn.00091370
add eax, 3
and al, 0xfc
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x64], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x68], ecx
mov esi, ecx
mov edx, eax
mov ecx, edi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
test byte [ebx + 0x244], 2
jne 0x19f415
sar esi, 1
sar ecx, 1
mov dword [esp + 0x44], esi
mov dword [esp + 0x4c], ecx
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0xc0]
sub edx, dword [esp + 0x40]
mov dword [ebx + 0x14c], edi
mov edi, dword [esp + 0xc4]
mov ebx, dword [edi]
mov dword [esp + 0x28], ebx
mov ebx, dword [edi + 4]
mov dword [esp + 0x2c], ebx
mov ebx, dword [edi + 8]
mov edi, dword [edi + 0xc]
sub ecx, esi
mov esi, dword [esp + 0xb4]
cmp dword [esi + 0x140], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edi
jne 0x19f479
mov edi, dword [esi + 0x144]
cmp edi, dword [esp + 0x18]
jne 0x19f479
cmp dword [esi + 0x138], edx
jne 0x19f479
cmp dword [esi + 0x13c], ecx
je 0x19f49f
mov dword [esi + 0x140], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x144], eax
mov dword [esi + 0x138], edx
mov dword [esi + 0x13c], ecx
mov dword [esi + 0x1e8], 0
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x1c]
push eax
push esi
push ebp
call fcn.001a0ff0
mov ebx, dword [esp + 0x14]
test byte [ebx + 0x244], 1
jne 0x19f4da
test eax, eax
je 0x19f4da
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x68]
push edx
push ebx
push esi
push ebp
call fcn.001a1c40
mov ebx, eax
mov eax, dword [esp + 0xb4]
cmp dword [eax + 0x178], 1
jne 0x19f4ed
and dword [eax], 0xffffffef
mov eax, dword [eax]
test al, 0x10
je 0x19f66c
mov ecx, dword [esp + 0xbc]
mov edx, ecx
mov esi, dword [edx]
mov dword [esp + 0x40], esi
mov esi, dword [edx + 4]
mov dword [esp + 0x44], esi
mov esi, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edx
test byte [ebx + 0x244], 2
jne 0x19f52c
sar dword [esp + 0x44], 1
sar dword [esp + 0x4c], 1
test eax, 0x18000
jne 0x19f581
test al, 4
jne 0x19f581
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0xc4]
mov dword [eax + 0x14c], ecx
mov ecx, dword [edx]
mov dword [esp + 0x28], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x2c], ecx
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
jmp 0x19f5ce
mov dword [esp + 0x3c], 0
jmp 0x19f2c0
mov edx, dword [esp + 0x24]
mov eax, dword [ebp + edx*4 + 0x4cc4]
mov esi, 1
sub esi, edx
mov edx, dword [ecx]
mov dword [esp + 0x28], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x2c], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x20]
xor ecx, ecx
test esi, esi
sete cl
mov dword [esp + 0x30], edx
mov edx, dword [ebp + esi*4 + 0x4ccc]
mov dword [eax + 0x14c], edx
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0xb4]
test byte [edx + 1], 1
mov dword [esp + 0x14], eax
je 0x19f603
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0xb8]
push eax
mov eax, dword [esp + 0xc4]
lea edx, [esp + 0x48]
push edx
push eax
push ebx
push ecx
push ebp
call fcn.001a4f50
jmp 0x19f625
mov ecx, dword [esp + 0xbc]
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0xb8]
push eax
lea eax, [esp + 0x48]
push eax
push ecx
push ebx
push edx
push ebp
call fcn.001a2680
test eax, eax
je 0x19f65d
mov eax, dword [esp + 0x14]
or dword [eax + 0x244], 1
and dword [eax + 0x234], 0xfffffff7
lea esi, [ebx + 0x250]
lea edi, [eax + 0x250]
mov ebx, eax
mov ecx, 0xe
lea eax, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0xbc], eax
jmp 0x19f66c
cmp dword [esp + 0x1c], 0
je 0x19f66c
mov dword [esp + 0x1c], 0
mov edi, dword [esp + 0xb4]
mov eax, dword [edi]
test al, 4
je 0x19f78c
cmp dword [ebx + 0x13c], 0
je 0x19f692
mov ecx, dword [ebx + 0x14c]
mov dword [esp + 0x18], ecx
jmp 0x19f696
mov dword [esp + 0x18], ebx
test eax, 0x18000
jne 0x19f6b9
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], edx
jmp 0x19f6da
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + eax*4 + 0x4cc4]
xor edx, edx
test eax, eax
mov eax, dword [esp + 0xbc]
sete dl
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], edx
mov ecx, dword [eax]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x38], edx
push edi
mov dword [ebx + 0x23c], eax
mov eax, dword [esp + 0xc4]
push ebx
mov esi, ebp
call fcn.001a7ab0
add edi, 0x250
cmp dword [esp + 0x1c], 0
lea esi, [ebx + 0x250]
mov ecx, 0xe
rep movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x204]
mov ebx, dword [esp + 0x14]
lea edi, [ebx + 0x204]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
je 0x19f76c
mov edx, dword [esp + 0xc4]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xbc]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
mov ecx, ebp
call fcn.001b2690
jmp 0x19f77a
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x14c], eax
mov edi, dword [esp + 0xb4]
lea edx, [esp + 0x28]
mov dword [esp + 0xbc], edx
test byte [edi + 1], 0x80
je 0x19f7f4
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + eax*4 + 0x4cc4]
mov edx, dword [esp + 0xbc]
lea esi, [edi + 0x288]
push esi
push ecx
push edx
push ebx
mov ecx, ebp
call fcn.001b2690
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + eax*4 + 0x4ccc]
mov edx, dword [esp + 0xbc]
push esi
push ecx
push edx
push ebx
mov ecx, ebp
call fcn.001b2690
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov ebx, dword [ebp + eax*4 + 0x4cc4]
mov edx, dword [ebp + ecx*4 + 0x4ccc]
mov dword [ebx + 0x14c], edx
and byte [edi + 2], 0xfe
jmp 0x19f7fb
mov esi, dword [esp + 0xbc]
cmp dword [esp + 0x1c], 0
jne 0x19f87f
test byte [edi + 2], 4
je 0x19f836
test ebx, ebx
je 0x19f836
mov eax, dword [ebx + 0x244]
and al, 0xfe
or al, 4
mov dword [ebx + 0x244], eax
or dword [ebx + 0x234], 8
mov ecx, dword [ebx + 0x244]
xor ecx, dword [esp + 0x50]
and ecx, 0x20
xor dword [ebx + 0x244], ecx
test byte [edi + 2], 1
je 0x19f84e
lea edx, [esp + 0x84]
lea esi, [esp + 0x74]
mov dword [esp + 0xc4], edx
mov eax, dword [esp + 0xc4]
mov edi, dword [esp + 0xc0]
push eax
push edi
push esi
push ebx
mov ecx, ebp
call fcn.001b2690
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0x38]
push ecx
push edx
push esi
push ebx
mov ecx, ebp
call fcn.001b2690
jmp 0x19f886
mov edi, dword [esp + 0xc0]
mov eax, dword [esp + 0x38]
or dword [edi + 0x244], 1
mov dword [edi + 0x14c], eax
mov ebx, edi
jmp 0x19f92e
test edx, 0x40000
je 0x19f8d6
test ebx, ebx
je 0x19f8d6
mov ecx, dword [ebx + 0x244]
and ecx, 0xfffffffe
or ecx, 4
mov dword [ebx + 0x244], ecx
or dword [ebx + 0x234], 8
mov edx, dword [ebx + 0x244]
xor edx, dword [esp + 0x50]
and edx, 0x20
xor dword [ebx + 0x244], edx
mov eax, dword [esp + 0xc4]
mov ebx, dword [esp + 0xc0]
mov ecx, dword [esp + 0xbc]
push eax
push ebx
push ecx
push edi
mov ecx, ebp
call fcn.001b2690
or dword [ebx + 0x244], 1
test esi, esi
je 0x19f927
mov edx, dword [esp + 0xc4]
mov eax, dword [esp + 0xbc]
push edx
push esi
push eax
push edi
mov ecx, ebp
call fcn.001b2690
or dword [esi + 0x244], 1
mov dword [ebx + 0x14c], esi
mov ebx, dword [esp + 0xc0]
mov eax, 6
push 0
call fcn.00090c40
cmp dword [esp + 0x98], 0
je 0x19f953
push 0
push 0
push 0
push 2
push 0x4d
call fcn.0008dca0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret 0x18