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

Disassembly:
sub esp, 0x3e0
mov eax, dword [0xe8fc54]
xor eax, esp
mov dword [esp + 0x3dc], eax
mov eax, dword [0xe91024]
push ebx
push ebp
push esi
push edi
xor edi, edi
cmp eax, edi
jl 0xecfdfc
cmp eax, dword [0xe91038]
jg 0xecfdfc
mov ebp, 1
cmp dword [0xeb4d5e], ebp
jne 0xecf770
mov ebx, dword [0xeb4890]
mov dword [0xeb4860], edi
mov esi, 0xeb4868
mov edi, 0xeb4d48
call fcn.00ed2000
test eax, eax
je 0xecf760
mov dword [0xeb4860], ebp
call dword [0xe8323c]
push 0x3e8
mov dword [0xeb495c], eax
call dword [0xe83250]
jmp 0xecfe3a
push 0x1388
call dword [0xe83250]
jmp 0xecfe3a
push 0xeb4bf0
mov ecx, 0xe91038
call fcn.00ed0d00
test eax, eax
je 0xecfde2
mov edx, dword [0xe91b58]
mov eax, dword [0xe91b50]
mov ecx, dword [0xe91b54]
push 0x3c6
mov dword [0xeb4cf8], edx
mov dword [0xeb4cf0], eax
mov eax, dword [0xe91b5c]
mov dword [0xeb4cf4], ecx
mov ecx, dword [0xe91acc]
lea edx, [esp + 0x24]
push edi
push edx
mov dword [0xeb4cfc], eax
mov dword [0xeb4b6c], ecx
call fcn.00eebd80
mov eax, dword [0xeb4860]
add esp, 0xc
cmp eax, ebp
jne 0xecf893
xor eax, eax
movzx ecx, word [eax + 0xeb4864]
mov word [esp + eax + 0xd2], cx
add eax, 2
cmp cx, di
jne 0xecf7e1
xor eax, eax
lea ebx, [ebx]
movzx ecx, word [eax + 0xeb48b2]
mov word [esp + eax + 0x112], cx
add eax, 2
cmp cx, di
jne 0xecf800
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + 0xeb4894]
mov word [esp + eax + 0xd6], cx
add eax, 2
cmp cx, di
jne 0xecf820
mov cl, byte [0xe88578]
mov eax, dword [0xe88574]
mov byte [0xea4864], cl
mov dword [0xea4860], eax
mov ecx, 0xf1
lea esi, [esp + 0x20]
mov edi, 0xea4864
rep movsd dword es:[edi], dword [esi]
push ebp
movsw word es:[edi], word [esi]
push 0xea4860
mov esi, 0xeb4d48
mov dword [0xe9102c], 0x3ca
call fcn.00ed2100
mov dword [0xeb4860], 2
call dword [0xe8323c]
mov dword [0xeb495c], eax
jmp 0xecfe3a
cmp eax, 2
jne 0xecf8cd
mov esi, dword [0xe8323c]
call esi
sub eax, dword [0xeb495c]
cmp eax, 0x1388
jbe 0xecfe3a
mov dword [0xeb4860], edi
call esi
mov esi, 0xeb4d48
mov dword [0xeb495c], eax
call fcn.00ed20d0
jmp 0xecfe3a
cmp eax, 3
jne 0xecfa75
mov esi, dword [0xe8323c]
call esi
sub eax, dword [0xeb495c]
cmp eax, 0x3e8
jbe 0xecfe3a
cmp dword [0xe91024], 6
mov eax, 0xb4
lea ecx, [eax - 0x32]
jne 0xecf90a
mov eax, 0x320
mov ecx, 0x32
mov edx, dword [0xeb4cf0]
push ecx
mov ecx, dword [0xeb4cf4]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [0xeb4cf8]
mov dword [eax + 4], ecx
mov ecx, dword [0xeb4cfc]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov ecx, 0xe91038
call fcn.00ed0d70
test eax, eax
je 0xecf9c8
mov eax, dword [0xe91024]
cmp eax, 5
ja 0xecf9a4
push 0xe8857c
push 0xe91b60
call fcn.00eea246
add esp, 8
test eax, eax
je 0xecf988
xor eax, eax
jmp 0xecf970
movzx ecx, word [eax + 0xe91b60]
mov word [eax + 0xeb4c70], cx
add eax, 2
cmp cx, di
jne 0xecf970
jmp 0xecf9e6
push 0xe88584
push 0xe91b60
call fcn.00eea246
add esp, 8
test eax, eax
je 0xecf9e6
mov dword [esp + 0x38], ebp
jmp 0xecf9e6
cmp eax, 6
jne 0xecf9e6
xor eax, eax
jmp 0xecf9b0
movzx ecx, word [eax + 0xe91b60]
mov word [eax + 0xeb4c70], cx
add eax, 2
cmp cx, di
jne 0xecf9b0
jmp 0xecf9e6
xor eax, eax
lea ebx, [ebx]
movzx ecx, word [eax + 0xe885b8]
mov word [eax + 0xeb4c70], cx
add eax, 2
cmp cx, di
jne 0xecf9d0
call esi
mov edx, dword [0xe88590]
mov dword [0xeb495c], eax
mov al, byte [0xe88594]
mov byte [0xea4864], al
mov dword [0xea4860], edx
xor eax, eax
jmp 0xecfa10
movzx ecx, word [eax + 0xeb4bf0]
mov word [esp + eax + 0x3c], cx
add eax, 2
cmp cx, di
jne 0xecfa10
xor eax, eax
jmp 0xecfa30
movzx ecx, word [eax + 0xeb4c70]
mov word [esp + eax + 0x78], cx
add eax, 2
cmp cx, di
jne 0xecfa30
mov ecx, 0xf1
lea esi, [esp + 0x20]
mov edi, 0xea4864
rep movsd dword es:[edi], dword [esi]
push ebp
movsw word es:[edi], word [esi]
push 0xea4860
mov esi, 0xeb4d48
mov dword [0xe9102c], 0x3ca
call fcn.00ed2100
jmp 0xecfe3a
cmp eax, 4
jne 0xecfe3a
call dword [0xe8323c]
mov ecx, eax
mov eax, 0x3e8
cdq
idiv dword [0xeb494c]
sub ecx, dword [0xeb495c]
cmp ecx, eax
jbe 0xecfe3a
mov edx, dword [0xeb4cf8]
mov esi, dword [0xeb4cf0]
mov ebx, dword [0xeb4cf4]
mov dword [esp + 0x14], edi
mov edi, dword [0xeb4cfc]
mov eax, edx
mov ecx, edi
xor ebp, ebp
sub eax, esi
sub ecx, ebx
cmp dword [0xe91024], 6
jne 0xecfae3
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
xor eax, eax
jmp 0xecfb57
cmp dword [0xe91024], 5
ja 0xecfb3e
cmp dword [0xeb4b68], 3
jne 0xecfb3e
mov al, byte [0xe8859c]
mov edx, dword [0xe88598]
mov byte [0xea4864], al
mov eax, dword [0xeb4d40]
mov dword [0xea4860], edx
test eax, eax
je 0xecfe3a
push 0xe9102c
call eax
mov eax, dword [0xeb4d44]
add esp, 4
test eax, eax
je 0xecfe3a
push 0xea4864
call eax
add esp, 4
jmp 0xecfda6
mov esi, dword [esp + 0x14]
sub esp, 0x10
mov edx, esp
mov dword [edx], ebp
mov dword [edx + 4], esi
mov dword [edx + 8], eax
mov eax, dword [0xeb4b6c]
mov dword [edx + 0xc], ecx
push 0xeb4d20
call fcn.00ed14d0
test eax, eax
je 0xecfe3a
mov esi, dword [0xeb4d20]
test esi, esi
je 0xecfe3a
mov eax, dword [0xe91024]
test eax, eax
jne 0xecfbb8
push 0xd0
push 0x140
push eax
push 0x10e
push esi
push 0xeb4d08
call fcn.00ed0860
push 0x14
push 0
push 0xbc
push 0x140
push 0x21c
mov edx, 0x104
jmp 0xecfd57
cmp eax, 1
jne 0xecfbf3
push 0xd0
push 0x140
push 0
push 0x64
push esi
push 0xeb4d08
call fcn.00ed0860
push 0x14
push 0
push 0xbc
push 0x140
push 0x203
mov edx, 0xe6
jmp 0xecfd57
cmp eax, 2
je 0xecfd26
cmp eax, 3
je 0xecfd26
cmp eax, 4
jne 0xecfc60
push 0xad
push 0x140
push 6
push 0x10e
push esi
push 0xeb4d08
call fcn.00ed0860
push 0
push pe_nt_image_headers32
push 0x14
push 0x50
push 6
push esi
mov edx, 0x2a8
mov ebx, 0xeb4d08
call fcn.00ed09f0
push 0x14
push 0
push 0x9b
push 0x140
push 0x24e
mov edx, 0x14a
jmp 0xecfd57
cmp eax, 5
jne 0xecfcbb
push 0xd0
push 0x140
push 0
push 0x69
push esi
push 0xeb4d08
call fcn.00ed0860
push 0
push 0x8c
push 0x14
push 0xb4
push 0
push esi
mov edx, 0x1b3
mov ebx, 0xeb4d08
call fcn.00ed09f0
push 0x14
push 0
push 0xbc
push 0x140
push 0x1ea
mov edx, 0xe6
jmp 0xecfd57
cmp eax, 6
jne 0xecfcf3
push 0xdc
push 0x190
push 0
push 0x5a
push esi
push 0xeb4d08
call fcn.00ed0860
push 0x17
push 0
push 0xc5
push 0x190
push 0x226
mov edx, 0xfa
jmp 0xecfd57
push 0xc8
push 0x154
push 0
push 0x78
push esi
push 0xeb4d08
call fcn.00ed0860
push 0x1e
push 0
push 0xaa
push 0x154
push 0x226
mov edx, 0x14a
jmp 0xecfd57
push 0xbc
push 0x140
push 0
push 0x6e
push esi
push 0xeb4d08
call fcn.00ed0860
push 0x14
push 0
push 0xa8
push 0x140
push 0x186
mov edx, 0x82
push esi
mov ebx, 0xeb4d08
call fcn.00ed09f0
mov edx, dword [0xe88598]
mov al, byte [0xe8859c]
mov ecx, dword [0xeb4954]
push 0xe9102c
push 0xea4864
mov dword [0xea4860], edx
mov edx, dword [0xeb4d0c]
push ecx
mov byte [0xea4864], al
mov eax, dword [0xeb4d08]
push edx
push eax
call fcn.00ed6870
add esp, 0x14
test eax, eax
jne 0xecfe3a
mov ecx, dword [0xe9102c]
dec ecx
cmp ecx, 0xfffa
ja 0xecfe3a
add dword [0xe9102c], 4
push 0
push 0xea4860
mov esi, 0xeb4d48
call fcn.00ed2100
test eax, eax
je 0xecfe3a
call dword [0xe8323c]
mov dword [0xeb495c], eax
jmp 0xecfe3a
mov dword [0xeb4cf0], edi
mov dword [0xeb4cf4], edi
mov dword [0xeb4cf8], edi
mov dword [0xeb4cfc], edi
jmp 0xecfe3a
mov dword [0xeb4860], edi
call dword [0xe8323c]
cmp dword [0xeb4d5e], 3
mov dword [0xeb495c], eax
jl 0xecfe3a
mov eax, dword [0xeb4d5a]
cmp eax, edi
je 0xecfe30
push eax
call dword [fcn.00e83428]
test eax, eax
jne 0xecfe30
mov dword [0xeb4d5a], edi
mov dword [0xeb4d5e], 1
mov ecx, dword [esp + 0x3ec]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00ee9af3
add esp, 0x3e0
ret