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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, edx
push esi
mov esi, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], esi
mov ecx, dword [eax]
test ecx, ecx
jne 0x1001e7a7
mov dword [eax], 0x80
mov eax, 0x8007007a
pop esi
mov esp, ebp
pop ebp
ret
cmp ecx, 0x6d
jae 0x1001e7bc
mov dword [eax], 0x6d
mov eax, 0x8007007a
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x1001e7cf
pop ebx
mov eax, 0x80070057
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov edx, dword [esi]
mov dword [ebx + 4], 0
and edx, 1
mov dword [ebx], edx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [ebx + 0xc], ecx
mov dword [ebx + 8], eax
push edi
mov edi, dword [esi]
xor esi, esi
mov dword [ebx + 4], esi
and edi, 2
or edi, edx
mov edx, dword [ebp - 4]
mov dword [ebx], edi
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0x1c]
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x10], eax
mov ebx, dword [edx]
xor edx, edx
or edx, esi
and ebx, 4
mov esi, dword [ebp + 8]
or ebx, edi
mov edi, dword [ebp - 4]
mov dword [esi + 4], edx
mov dword [esi], ebx
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x18], eax
xor esi, esi
mov ecx, dword [edi]
or esi, edx
mov eax, dword [edi + 4]
xor edx, edx
shrd ecx, eax, 0x1c
and ecx, 8
or ecx, ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov dword [ebx], ecx
mov dword [ebx + 4], esi
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x2c]
mov dword [ebx + 0x24], ecx
xor ecx, ecx
mov dword [ebx + 0x20], eax
mov edi, dword [edi]
and edi, 8
shld ecx, edi, 1
or ecx, esi
add edi, edi
or edi, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov dword [ebx], edi
mov dword [ebx + 4], ecx
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x28], eax
mov eax, esi
mov esi, dword [eax]
and esi, 0x10
shld edx, esi, 1
add esi, esi
or edx, ecx
or esi, edi
mov dword [ebx + 4], edx
mov dword [ebx], esi
xor ecx, ecx
mov eax, dword [eax + 0x34]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 4]
mov edi, dword [eax]
and edi, 0x20
shld ecx, edi, 1
add edi, edi
or edi, esi
mov dword [ebx], edi
or ecx, edx
mov dword [ebx + 4], ecx
xor edx, edx
mov eax, dword [eax + 0x38]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 4]
mov esi, dword [eax]
and esi, 0x40
shld edx, esi, 1
or edx, ecx
add esi, esi
or esi, edi
mov dword [ebx + 4], edx
mov dword [ebx], esi
xor ecx, ecx
mov eax, dword [eax + 0x3c]
mov dword [ebx + 0x34], eax
mov eax, dword [ebp - 4]
mov edi, dword [eax]
and edi, 0x80
shld ecx, edi, 1
add edi, edi
or ecx, edx
or edi, esi
mov dword [ebx + 4], ecx
mov dword [ebx], edi
xor edx, edx
mov eax, dword [eax + 0x40]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 4]
mov esi, dword [eax]
and esi, 0x100
shld edx, esi, 1
add esi, esi
or edx, ecx
or esi, edi
mov dword [ebx + 4], edx
mov dword [ebx], esi
xor ecx, ecx
mov eax, dword [eax + 0x44]
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edi, dword [eax]
and edi, 0x200
shld ecx, edi, 1
add edi, edi
or ecx, edx
or edi, esi
mov dword [ebx + 4], ecx
mov dword [ebx], edi
xor edx, edx
mov eax, dword [eax + 0x48]
mov dword [ebx + 0x40], eax
mov eax, dword [ebp - 4]
mov esi, dword [eax]
and esi, 0x400
shld edx, esi, 1
add esi, esi
or edx, ecx
or esi, edi
mov dword [ebx + 4], edx
mov dword [ebx], esi
xor ecx, ecx
mov eax, dword [eax + 0x4c]
mov dword [ebx + 0x44], eax
mov eax, dword [ebp - 4]
mov edi, dword [eax]
and edi, 0x800
shld ecx, edi, 1
add edi, edi
or ecx, edx
or edi, esi
mov dword [ebx + 4], ecx
mov dword [ebx], edi
mov eax, dword [eax + 0x50]
mov dword [ebx + 0x48], eax
mov eax, dword [ebp - 4]
mov esi, dword [eax]
and esi, 0x1000
xor edx, edx
shld edx, esi, 1
or edx, ecx
add esi, esi
mov dword [ebx + 4], edx
or esi, edi
mov dword [ebx], esi
xor ecx, ecx
mov eax, dword [eax + 0x54]
mov dword [ebx + 0x4c], eax
mov eax, dword [ebp - 4]
mov edi, dword [eax]
and edi, 0x2000
shld ecx, edi, 1
or ecx, edx
add edi, edi
mov dword [ebx + 4], ecx
or edi, esi
mov dword [ebx], edi
mov edx, eax
xor esi, esi
mov eax, dword [edx + 0x58]
mov dword [ebx + 0x50], eax
mov ebx, dword [edx]
and ebx, 0x4000
shld esi, ebx, 1
or esi, ecx
add ebx, ebx
mov ecx, dword [ebp + 8]
or ebx, edi
mov dword [ecx + 4], esi
mov dword [ecx], ebx
mov eax, dword [edx + 0x5c]
mov dword [ecx + 0x54], eax
mov edi, dword [edx]
xor edx, edx
and edi, 0x8000
shld edx, edi, 1
or edx, esi
add edi, edi
mov esi, dword [ebp - 4]
or edi, ebx
mov dword [ecx], edi
mov dword [ecx + 4], edx
mov eax, dword [esi + 0x60]
mov dword [ecx + 0x58], eax
xor ecx, ecx
mov ebx, dword [esi]
or ecx, edx
mov eax, dword [esi + 4]
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 4]
shrd ebx, eax, 0x12
mov dword [esi + 4], ecx
and ebx, 0x20000
or ebx, edi
mov dword [esi], ebx
movzx eax, word [edx + 0x7c]
mov word [esi + 0x5c], ax
xor esi, esi
mov eax, dword [edx]
and eax, 0x10000
shld esi, eax, 2
shl eax, 2
or esi, ecx
or eax, ebx
mov ecx, edx
mov ebx, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 8], eax
mov dword [ebx], eax
mov dword [ebx + 4], esi
movzx eax, word [ecx + 0x6c]
mov word [ebx + 0x5e], ax
mov edi, dword [ecx]
and edi, 0x20000
shld edx, edi, 2
shl edi, 2
or edi, dword [ebp - 8]
or edx, esi
mov dword [ebx], edi
mov dword [ebx + 4], edx
movzx eax, word [ecx + 0x6e]
mov word [ebx + 0x60], ax
mov esi, dword [ecx]
mov eax, dword [ecx + 4]
xor ecx, ecx
shrd esi, eax, 0xd
or ecx, edx
mov edx, dword [ebp - 4]
mov dword [ebx + 4], ecx
and esi, 0x100000
or esi, edi
mov dword [ebx], esi
movzx eax, word [edx + 0x78]
mov word [ebx + 0x62], ax
mov edi, dword [edx]
mov eax, dword [edx + 4]
xor edx, edx
shrd edi, eax, 0xd
or edx, ecx
mov ecx, dword [ebp - 4]
mov dword [ebx + 4], edx
and edi, 0x200000
or edi, esi
mov dword [ebx], edi
movzx eax, word [ecx + 0x7a]
mov word [ebx + 0x64], ax
mov esi, dword [ecx]
mov eax, dword [ecx + 4]
xor ecx, ecx
shrd esi, eax, 7
or ecx, edx
mov edx, dword [ebp - 4]
mov dword [ebx + 4], ecx
and esi, 0x400000
or esi, edi
mov dword [ebx], esi
movzx eax, word [edx + 0x74]
mov word [ebx + 0x66], ax
mov edi, dword [edx]
mov eax, dword [edx + 4]
xor edx, edx
shrd edi, eax, 7
or edx, ecx
mov ecx, dword [ebp - 4]
mov dword [ebx + 4], edx
and edi, 0x800000
or edi, esi
xor esi, esi
mov dword [ebx], edi
movzx eax, word [ecx + 0x76]
mov word [ebx + 0x68], ax
mov ebx, dword [ecx]
and ebx, 0x200000
shld esi, ebx, 8
shl ebx, 8
or esi, edx
or ebx, edi
mov edi, dword [ebp + 8]
mov dword [edi], ebx
mov dword [edi + 4], esi
movzx eax, byte [ecx + 0x7e]
mov byte [edi + 0x6b], al
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
xor ecx, ecx
shrd edx, eax, 2
or ecx, esi
xor esi, esi
and edx, 0x40000000
mov dword [edi + 4], ecx
or edx, ebx
mov ebx, dword [ebp - 4]
mov dword [edi], edx
movzx eax, byte [ebx + 0x81]
mov byte [edi + 0x6c], al
mov ebx, dword [ebx]
and ebx, 0x400000
shld esi, ebx, 2
shl ebx, 2
or ebx, edx
or esi, ecx
mov al, byte [edi + 0x6a]
xor edx, edx
mov ecx, dword [ebp - 4]
mov dword [edi], ebx
mov dword [edi + 4], esi
xor al, byte [ecx + 0x7f]
and al, 1
xor al, byte [edi + 0x6a]
mov byte [edi + 0x6a], al
mov edi, dword [ecx]
and edi, 0x800000
shld edx, edi, 2
or edx, esi
shl edi, 2
mov esi, dword [ebp + 8]
or edi, ebx
mov dword [esi], edi
mov dword [esi + 4], edx
mov cl, byte [ecx + 0x7f]
xor cl, al
and cl, 2
xor cl, al
mov eax, esi
mov esi, dword [ebp - 4]
mov byte [eax + 0x6a], cl
mov ebx, dword [esi]
xor esi, esi
and ebx, 0x1000000
shld esi, ebx, 2
or esi, edx
shl ebx, 2
mov edx, dword [ebp - 4]
or ebx, edi
mov dword [eax], ebx
mov dword [eax + 4], esi
mov al, byte [edx + 0x7f]
xor al, cl
and al, 4
xor al, cl
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x6a], al
mov edi, dword [edx]
xor edx, edx
and edi, 0x2000000
shld edx, edi, 2
shl edi, 2
or edx, esi
or edi, ebx
mov dword [ecx + 4], edx
mov ebx, dword [ebp - 4]
xor esi, esi
mov dword [ecx], edi
mov cl, byte [ebx + 0x7f]
xor cl, al
and cl, 8
xor cl, al
mov eax, dword [ebp + 8]
mov byte [eax + 0x6a], cl
mov ebx, dword [ebx]
and ebx, 0x4000000
shld esi, ebx, 2
shl ebx, 2
or esi, edx
or ebx, edi
mov dword [eax + 4], esi
mov edi, dword [ebp - 4]
mov dword [eax], ebx
mov dl, byte [edi + 0x7f]
xor dl, cl
and dl, 0x30
xor dl, cl
xor ecx, ecx
mov byte [eax + 0x6a], dl
or ecx, ebx
mov eax, dword [edi]
mov edi, dword [edi + 4]
shrd eax, edi, 5
shr edi, 5
and edi, 1
or edi, esi
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [esi], ecx
mov dword [esi + 4], edi
mov bl, byte [eax + 0x7f]
shr bl, 1
xor bl, dl
and bl, 0x40
xor bl, dl
mov edx, eax
mov byte [esi + 0x6a], bl
and bl, 0x7f
mov eax, dword [edx]
mov esi, dword [edx + 4]
shrd eax, esi, 5
mov eax, esi
xor esi, esi
or esi, ecx
shr eax, 5
and eax, 2
mov dword [ebp - 8], esi
mov esi, dword [ebp + 8]
or eax, edi
mov ecx, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [esi + 4], eax
mov dword [esi], ecx
movzx eax, byte [edx + 0x80]
shl al, 7
or bl, al
mov byte [esi + 0x6a], bl
cmp dword [edi], 0x74
jb 0x1001ecdb
mov ecx, dword [edx]
mov eax, dword [edx + 4]
shrd ecx, eax, 5
xor eax, eax
and ecx, 0x80000000
or ecx, dword [ebp - 8]
or eax, dword [ebp - 4]
mov ebx, eax
mov dword [esi], ecx
mov dword [esi + 4], ebx
mov eax, dword [edx + 0x64]
mov dword [ebp - 8], ecx
mov dword [esi + 0x70], eax
jmp 0x1001ecde
mov ebx, dword [ebp - 4]
cmp dword [edi], 0x80
jb 0x1001ed1d
mov eax, dword [edx]
mov ecx, dword [edx + 4]
shrd eax, ecx, 5
xor eax, eax
or eax, dword [ebp - 8]
shr ecx, 5
and ecx, 4
mov dword [esi], eax
or ecx, ebx
mov dword [esi + 4], ecx
mov al, byte [edx + 0x80]
mov ecx, dword [esi + 0x78]
shr al, 1
and ecx, 0xfffffffe
and al, 1
movzx eax, al
cdq
or eax, ecx
or dword [esi + 0x7c], edx
mov dword [esi + 0x78], eax
mov ecx, 0x80
cmp dword [edi], ecx
cmovb ecx, dword [edi]
xor eax, eax
mov dword [edi], ecx
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret