Function at 0xe969f0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
call fcn.00e96150
mov esi, dword [esp + 0x28]
mov ebp, dword [fcn.00e8f004]
push 4
push 0x1000
push esi
push 0
mov dword [esp + 0x2c], eax
call ebp
mov ecx, esi
mov esi, dword [esp + 0x24]
mov ebx, eax
mov eax, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp word [ebx], 0x5a4d
jne 0xe96a4e
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov dword [esp + 0x28], eax
cmp dword [eax], 0x4550
jne 0xe96a4e
cmp word [eax + 0x18], 0x10b
je 0xe96a66
push 0x8000
push 0
push ebx
call dword [fcn.00e8f000]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov esi, dword [eax + 0x50]
push 0x40
push 0x1000
push esi
push 0
call ebp
mov ecx, esi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
mov esi, dword [esp + 0x28]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
xor edx, edx
and ecx, 3
mov dword [esp + 0x18], ebp
rep stosb byte es:[edi], al
xor eax, eax
mov ax, word [esi + 6]
test eax, eax
jle 0xe96ab5
add esi, 0x10c
mov ecx, dword [esi]
test ecx, ecx
jne 0xe96ad5
inc edx
add esi, 0x28
cmp edx, eax
jl 0xe96aa5
jmp 0xe96abd
mov ecx, dword [esp + 0x28]
test ecx, ecx
jne 0xe96ad5
push 0x8000
push 0
push ebp
call dword [fcn.00e8f000]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, ecx
mov esi, ebx
mov edi, ebp
mov edx, dword [esp + 0x28]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x24], 0
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp word [edx + 6], 0
jbe 0xe96b4b
lea eax, [edx + 0x108]
mov esi, dword [esp + 0x28]
mov edx, dword [eax - 4]
mov ecx, dword [eax - 8]
mov edi, dword [esi + 0x50]
add ecx, edx
cmp ecx, edi
ja 0xe96abd
mov ecx, dword [eax]
test ecx, ecx
je 0xe96b2f
mov esi, dword [eax + 4]
lea edi, [edx + ebp]
mov edx, ecx
add esi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
xor edx, edx
inc ecx
mov dx, word [esi + 6]
add eax, 0x28
cmp ecx, edx
mov dword [esp + 0x24], ecx
jl 0xe96b00
mov edx, esi
mov edi, dword [edx + 0xa0]
mov eax, dword [edx + 0x34]
mov esi, ebp
add edi, ebp
sub esi, eax
mov eax, dword [edi]
test eax, eax
je 0xe96bc9
lea ecx, [eax + ebp]
mov eax, dword [edi + 4]
sub eax, 8
lea edx, [edi + 8]
shr eax, 1
test eax, eax
jle 0xe96bbc
mov ebx, edx
mov dword [esp + 0x24], eax
xor eax, eax
mov ax, word [ebx]
mov edx, eax
shr edx, 0xc
dec edx
je 0xe96ba0
dec edx
je 0xe96b95
dec edx
jne 0xe96bae
and eax, 0xfff
add dword [eax + ecx], esi
jmp 0xe96bae
and eax, 0xfff
add word [eax + ecx], si
jmp 0xe96bae
mov edx, esi
and eax, 0xfff
shr edx, 0x10
add word [eax + ecx], dx
mov eax, dword [esp + 0x24]
add ebx, 2
dec eax
mov dword [esp + 0x24], eax
jne 0xe96b78
add edi, dword [edi + 4]
mov eax, dword [edi]
test eax, eax
jne 0xe96b60
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x80]
xor esi, esi
add eax, ebp
mov dword [esp + 0x14], esi
mov edi, dword [eax + 0xc]
lea ecx, [eax + 0xc]
test edi, edi
je 0xe96bf0
mov edi, dword [ecx + 0x14]
add ecx, 0x14
inc esi
test edi, edi
jne 0xe96be1
mov dword [esp + 0x14], esi
test esi, esi
mov dword [esp + 0x24], 0
jle 0xe96c83
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov eax, dword [esi - 4]
add eax, ebp
push eax
call dword [0xe8f02c]
mov edi, eax
test edi, edi
je 0xe96acb
mov eax, dword [esi]
lea ecx, [eax + ebp]
mov eax, dword [esi - 0x10]
test eax, eax
je 0xe96c2d
add eax, ebp
jmp 0xe96c2f
mov eax, ecx
mov edx, dword [eax]
mov ebx, eax
test edx, edx
je 0xe96c67
mov esi, ecx
mov eax, dword [ebx]
test eax, 0x80000000
je 0xe96c4a
and eax, 0xffff
push eax
jmp 0xe96c4f
lea ecx, [eax + ebp + 2]
push ecx
push edi
call dword [0xe8f028]
add ebx, 4
mov dword [esi], eax
add esi, 4
cmp dword [ebx], 0
jne 0xe96c39
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
inc eax
add esi, 0x14
cmp eax, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], esi
jl 0xe96c07
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x7c]
test eax, eax
je 0xe96cf5
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
lea edi, [ecx + eax]
mov eax, dword [edx + 0x78]
add eax, ebp
mov esi, edi
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
add eax, ebp
lea ebx, [ecx + ecx*4]
shl ebx, 1
sub esi, ebx
test ecx, ecx
jle 0xe96ccd
mov edx, esi
sub eax, esi
mov ebx, ecx
mov ebp, dword [eax + edx]
add edx, 4
add ebp, dword [esp + 0x18]
dec ebx
mov dword [edx - 4], ebp
jne 0xe96cb5
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
lea eax, [ecx + ecx*2]
shl eax, 1
sub edi, eax
test ecx, ecx
jle 0xe96cf5
mov edx, esi
lea eax, [edi + 2]
mov bl, 0x25
mov byte [eax - 2], 0xff
mov byte [eax - 1], bl
mov dword [eax], edx
add edx, 4
add eax, 6
dec ecx
jne 0xe96cdf
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0xc4]
test eax, eax
je 0xe96da1
mov ecx, dword [edx + 0xc0]
xor esi, esi
mov eax, dword [ecx + ebp + 0xc]
mov dword [esp + 0x24], eax
cmp dword [eax], 0
je 0xe96d23
mov ecx, dword [eax + 4]
add eax, 4
inc esi
test ecx, ecx
jne 0xe96d18
lea ebx, [esi*4 + 4]
push 4
push 0x1000
push ebx
push 0
call dword [fcn.00e8f004]
mov ecx, ebx
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [0xe9d008], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
xor eax, eax
test esi, esi
jle 0xe96d71
mov ecx, dword [esp + 0x24]
inc eax
cmp eax, esi
mov edx, dword [ecx + eax*4 - 4]
mov ecx, dword [0xe9d008]
mov dword [ecx + eax*4 - 4], edx
jl 0xe96d5a
mov eax, dword [0xe9cff8]
mov dword [0xe9cff4], 1
test eax, eax
je 0xe96d9d
mov edx, dword [0xe9d004]
mov eax, dword [0xe9d000]
mov ecx, dword [0xe9cffc]
push edx
push eax
push ecx
call entry1
mov edx, dword [esp + 0x28]
mov edx, dword [edx + 0x28]
pop edi
add edx, ebp
pop esi
pop ebp
mov dword [0xe9d010], edx
mov eax, 1
pop ebx
add esp, 0x10
ret