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

Disassembly:
push 0xffffffffffffffff
push 0x1009d250
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov eax, dword [esp + 0x78]
push ebx
push ebp
push esi
push edi
mov edi, ecx
cmp eax, 1
mov dword [esp + 0x10], edi
jne 0x4eaa5a
cmp dword [esp + 0x94], 4
jne 0x4eaa5a
call fcn.004e9ea4
test al, al
jne 0x4ea194
mov eax, 0x8007000e
jmp 0x4eaa5f
mov eax, dword [esp + 0x84]
xor ebp, ebp
cmp eax, ebp
mov byte [esp + 0x88], 0
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
je 0x4ea1da
mov eax, dword [eax]
cmp eax, ebp
je 0x4ea1da
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp eax, ebp
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
ja 0x4ea1da
jb 0x4ea1d2
cmp ecx, 0x1000000
ja 0x4ea1da
mov byte [esp + 0x88], 1
mov dword [esp + 0x34], edi
mov esi, dword [esp + 0x8c]
mov eax, dword [esp + 0x80]
lea ecx, [edi + 0x10]
mov dword [esp + 0x78], ebp
mov edx, dword [esi]
mov ebx, dword [eax]
push edx
mov dword [esp + 0x28], ebx
call fcn.0048c616
lea ecx, [edi + 0x10]
call fcn.0048c625
mov eax, dword [esi + 4]
lea ecx, [edi + 0x38]
push eax
call fcn.0048c616
lea ecx, [edi + 0x38]
call fcn.0048c625
mov edx, dword [esi + 8]
lea ecx, [edi + 0x60]
push edx
call fcn.0048c616
lea ecx, [edi + 0x60]
call fcn.0048c625
mov esi, dword [esi + 0xc]
lea ecx, [edi + 0xa0]
push esi
call fcn.0048c616
lea esi, [edi + 0x88]
lea ecx, [esi + 0x18]
call fcn.0048c625
mov dword [esi + 8], ebp
add edi, 0xc8
mov ecx, 0x102
mov eax, 0x400
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], 0xffffffff
mov dword [esi], 1
mov byte [esi + 4], 0
rep stosd dword es:[edi], eax
mov dword [esp + 0x14], ebp
mov eax, dword [ebx]
lea ecx, [esp + 0x14]
push ecx
push 0x1009f438
push ebx
mov byte [esp + 0x84], 1
call dword [eax]
xor ebx, ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov byte [esp + 0x80], bl
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov eax, 0x20000
xor edi, edi
sub eax, ebx
je 0x4ea305
lea ebp, [esp + 0x28]
mov ecx, dword [esp + 0x24]
push ebp
push eax
mov eax, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [eax + 8]
add eax, edi
add eax, ebx
push eax
push ecx
call dword [edx + 0xc]
mov ebp, eax
test ebp, ebp
jne 0x4ea82b
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4ea305
add edi, eax
mov eax, 0x20000
sub eax, edi
sub eax, ebx
jne 0x4ea2ca
add edi, ebx
cmp edi, 5
mov dword [esp + 0x20], edi
jb 0x4ea874
add edi, 0xfffffffb
mov dword [esp + 0x8c], 0
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x8c]
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 0x14]
mov bl, byte [ecx + ebp]
lea ecx, [edi + 0x10]
mov byte [edx + eax], bl
mov byte [esp + 0x94], bl
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
inc eax
cmp eax, edx
mov dword [ecx + 4], eax
jne 0x4ea35d
call fcn.0048c713
mov cl, bl
and cl, 0xfe
cmp cl, 0xe8
je 0x4ea388
cmp byte [esp + 0x80], 0xf
jne 0x4ea37b
mov dl, bl
and dl, 0xf0
cmp dl, 0x80
je 0x4ea388
inc ebp
mov dword [esp + 0x8c], ebp
jmp 0x4ea7a9
mov eax, dword [edi + 8]
xor edx, edx
add eax, ebp
xor ebx, ebx
mov cl, byte [eax + 4]
mov dl, byte [eax + 3]
mov bl, byte [eax + 2]
mov dh, cl
shl edx, 8
or edx, ebx
xor ebx, ebx
mov bl, byte [eax + 1]
mov byte [esp + 0x84], cl
shl edx, 8
or edx, ebx
mov eax, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
add eax, ebp
lea edx, [eax + edx + 5]
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x1c], edx
je 0x4ea53b
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
xor ebx, ebx
add ebp, edx
mov edx, dword [esp + 0x3c]
adc ebx, edi
cmp edx, ebx
ja 0x4ea4aa
jb 0x4ea3f8
cmp dword [esp + 0x38], ebp
jae 0x4ea4aa
mov ecx, dword [eax]
lea edx, [esp + 0x60]
push edx
mov edx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push edx
push eax
call dword [ecx + 0xc]
mov edi, eax
test edi, edi
jne 0x4ea453
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x64]
mov dword [esp + 0x40], eax
add eax, edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x54]
adc ecx, edi
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x50]
add ecx, 1
adc eax, 0
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x14]
jmp 0x4ea48d
cmp edi, 1
je 0x4ea464
cmp edi, 0x80004001
jne 0x4ea996
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4ea478
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov dword [esp + 0x14], eax
xor ecx, ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
or ecx, 0xffffffff
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
cmp dword [esp + 0x3c], ebx
jb 0x4ea3f8
ja 0x4ea4a3
cmp dword [esp + 0x38], ebp
jb 0x4ea3f8
mov cl, byte [esp + 0x84]
test eax, eax
jne 0x4ea4e0
mov al, byte [esp + 0x88]
test al, al
je 0x4ea4ff
mov ecx, dword [esp + 0x5c]
xor eax, eax
cmp eax, ecx
ja 0x4ea4d9
jb 0x4ea569
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x1c]
cmp eax, edx
jb 0x4ea569
xor cl, cl
jmp 0x4ea56b
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
sub eax, edi
sbb edx, dword [esp + 0x44]
mov dword [esp + 0x6c], edx
jne 0x4ea4ff
cmp eax, 0x1000000
jbe 0x4ea50c
test cl, cl
je 0x4ea569
cmp cl, 0xff
je 0x4ea569
xor cl, cl
jmp 0x4ea56b
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x44]
cdq
add eax, ebp
adc edx, ebx
add eax, 5
adc edx, 0
cmp edx, ecx
jb 0x4ea537
ja 0x4ea529
cmp eax, edi
jb 0x4ea537
cmp edx, dword [esp + 0x3c]
ja 0x4ea537
jb 0x4ea569
cmp eax, dword [esp + 0x38]
jb 0x4ea569
xor cl, cl
jmp 0x4ea56b
mov al, byte [esp + 0x88]
test al, al
je 0x4ea55c
mov ecx, dword [esp + 0x5c]
xor eax, eax
cmp eax, ecx
ja 0x4ea558
jb 0x4ea569
cmp edx, dword [esp + 0x58]
jb 0x4ea569
xor cl, cl
jmp 0x4ea56b
test cl, cl
je 0x4ea569
cmp cl, 0xff
je 0x4ea569
xor cl, cl
jmp 0x4ea56b
mov cl, 1
mov bl, byte [esp + 0x94]
cmp bl, 0xe8
jne 0x4ea585
mov eax, dword [esp + 0x80]
and eax, 0xff
jmp 0x4ea592
xor eax, eax
cmp bl, 0xe9
setne al
add eax, 0x100
test cl, cl
je 0x4ea6dc
mov edx, dword [esi + 0x10]
mov edi, dword [esp + 0x10]
mov ecx, edx
mov ebp, dword [esi + 8]
shr ecx, 0xb
imul ecx, dword [edi + eax*4 + 0xc8]
add ebp, ecx
mov dword [esi + 8], ebp
mov ebp, dword [esi + 0xc]
adc ebp, 0
sub edx, ecx
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], edx
mov ecx, dword [edi + eax*4 + 0xc8]
mov edx, ecx
shr edx, 5
sub ecx, edx
mov dword [edi + eax*4 + 0xc8], ecx
mov eax, dword [esi + 0x10]
cmp eax, 0x1000000
jae 0x4ea670
mov edi, dword [esi + 8]
shl eax, 8
cmp edi, 0xff000000
mov dword [esi + 0x10], eax
jb 0x4ea60b
mov edx, dword [esi + 0xc]
mov ecx, 0x20
mov eax, edi
call fcn.0051a8e4
test eax, eax
je 0x4ea657
mov bl, byte [esi + 4]
lea edi, [esi + 0x18]
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov ecx, 0x20
call fcn.0051a8e4
mov ecx, dword [edi]
mov edx, dword [edi + 4]
add al, bl
mov byte [ecx + edx], al
mov edx, dword [edi + 4]
mov ecx, dword [edi + 8]
inc edx
mov eax, edx
mov dword [edi + 4], edx
cmp eax, ecx
jne 0x4ea642
mov ecx, edi
call fcn.0048c713
mov eax, dword [esi]
or bl, 0xff
dec eax
mov dword [esi], eax
jne 0x4ea611
mov edi, dword [esi + 8]
mov eax, edi
shr eax, 0x18
mov byte [esi + 4], al
mov ecx, dword [esi]
mov bl, byte [esp + 0x94]
inc ecx
shl edi, 8
mov dword [esi + 8], edi
mov dword [esi], ecx
mov dword [esi + 0xc], 0
mov ecx, dword [esp + 0x8c]
add ecx, 5
cmp bl, 0xe8
mov dword [esp + 0x8c], ecx
jne 0x4ea68f
mov ecx, dword [esp + 0x10]
lea edi, [ecx + 0x38]
jmp 0x4ea696
mov edx, dword [esp + 0x10]
lea edi, [edx + 0x60]
mov ebp, dword [esp + 0x1c]
mov ebx, 0x18
mov edx, dword [edi]
mov eax, ebp
mov ecx, ebx
shr eax, cl
mov ecx, dword [edi + 4]
mov byte [ecx + edx], al
mov edx, dword [edi + 4]
mov ecx, dword [edi + 8]
inc edx
mov eax, edx
mov dword [edi + 4], edx
cmp eax, ecx
jne 0x4ea6c4
mov ecx, edi
call fcn.0048c713
sub ebx, 8
jns 0x4ea69f
mov al, byte [esp + 0x84]
mov byte [esp + 0x80], al
jmp 0x4ea7b0
mov ecx, dword [esi + 0x10]
mov edx, dword [esp + 0x10]
shr ecx, 0xb
imul ecx, dword [edx + eax*4 + 0xc8]
mov dword [esi + 0x10], ecx
mov ecx, dword [edx + eax*4 + 0xc8]
mov edi, 0x800
sub edi, ecx
shr edi, 5
add edi, ecx
mov dword [edx + eax*4 + 0xc8], edi
mov eax, dword [esi + 0x10]
cmp eax, 0x1000000
jae 0x4ea7a2
mov edi, dword [esi + 8]
shl eax, 8
cmp edi, 0xff000000
mov dword [esi + 0x10], eax
jb 0x4ea73d
mov edx, dword [esi + 0xc]
mov ecx, 0x20
mov eax, edi
call fcn.0051a8e4
test eax, eax
je 0x4ea789
mov bl, byte [esi + 4]
lea edi, [esi + 0x18]
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov ecx, 0x20
call fcn.0051a8e4
mov ecx, dword [edi]
mov edx, dword [edi + 4]
add al, bl
mov byte [ecx + edx], al
mov edx, dword [edi + 4]
mov ecx, dword [edi + 8]
inc edx
mov eax, edx
mov dword [edi + 4], edx
cmp eax, ecx
jne 0x4ea774
mov ecx, edi
call fcn.0048c713
mov eax, dword [esi]
or bl, 0xff
dec eax
mov dword [esi], eax
jne 0x4ea743
mov edi, dword [esi + 8]
mov eax, edi
shr eax, 0x18
mov byte [esi + 4], al
mov ecx, dword [esi]
mov bl, byte [esp + 0x94]
inc ecx
shl edi, 8
mov dword [esi + 8], edi
mov dword [esi], ecx
mov dword [esi + 0xc], 0
inc dword [esp + 0x8c]
mov byte [esp + 0x80], bl
mov ebp, dword [esp + 0x8c]
mov eax, dword [esp + 0x30]
cmp ebp, eax
jbe 0x4ea326
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x98]
add ebx, ebp
add edi, ebp
mov dword [esp + 0x18], ebx
mov ebx, 0
adc edx, ebx
cmp eax, ebx
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edx
je 0x4ea807
mov ecx, dword [eax]
lea edx, [esp + 0x48]
push ebx
push edx
push eax
call dword [ecx + 0xc]
mov edi, eax
cmp edi, ebx
jne 0x4ea9f1
mov edi, dword [esp + 0x20]
cmp ebp, edi
jae 0x4ea824
mov eax, dword [esp + 0x10]
inc ebx
inc ebp
mov eax, dword [eax + 8]
cmp ebp, edi
mov cl, byte [eax + ebp - 1]
mov byte [eax + ebx - 1], cl
jb 0x4ea80f
xor ebp, ebp
jmp 0x4ea2bf
mov eax, dword [esp + 0x14]
mov byte [esp + 0x78], 0
test eax, eax
je 0x4ea83e
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x78], 0xffffffff
lea ecx, [esi + 0x24]
call fcn.004d1295
lea ecx, [esi + 0x4c]
call fcn.004d1295
lea ecx, [esi + 0x74]
call fcn.004d1295
lea ecx, [esi + 0xb4]
call fcn.004d1295
mov eax, ebp
jmp 0x4eaa5f
xor ebp, ebp
test edi, edi
jbe 0x4ea935
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 8]
mov edx, dword [edi + 0x14]
lea ecx, [edi + 0x10]
mov bl, byte [eax + ebp]
mov eax, dword [ecx]
mov byte [edx + eax], bl
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
inc eax
cmp eax, edx
mov dword [ecx + 4], eax
jne 0x4ea8a6
call fcn.0048c713
cmp bl, 0xe8
jne 0x4ea8ba
mov ecx, dword [esp + 0x80]
and ecx, 0xff
jmp 0x4ea8df
cmp bl, 0xe9
jne 0x4ea8c6
mov ecx, 0x100
jmp 0x4ea8df
cmp byte [esp + 0x80], 0xf
jne 0x4ea921
mov cl, bl
and cl, 0xf0
cmp cl, 0x80
jne 0x4ea921
mov ecx, 0x101
mov eax, dword [esi + 0x10]
mov edx, 0x800
shr eax, 0xb
imul eax, dword [edi + ecx*4 + 0xc8]
mov dword [esi + 0x10], eax
mov eax, dword [edi + ecx*4 + 0xc8]
sub edx, eax
shr edx, 5
add edx, eax
mov dword [edi + ecx*4 + 0xc8], edx
mov eax, dword [esi + 0x10]
cmp eax, 0x1000000
jae 0x4ea921
shl eax, 8
mov ecx, esi
mov dword [esi + 0x10], eax
call fcn.004eaa74
mov eax, dword [esp + 0x20]
inc ebp
cmp ebp, eax
mov byte [esp + 0x80], bl
jb 0x4ea87e
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.004ea044
mov edi, eax
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [esp + 0x78], 0
je 0x4ea955
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esi + 0x24]
mov dword [esp + 0x78], 0xffffffff
call fcn.004d1295
lea ecx, [esi + 0x4c]
call fcn.004d1295
lea ecx, [esi + 0x74]
call fcn.004d1295
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x4ea98f
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esi + 0xb4], 0
mov eax, edi
jmp 0x4eaa5f
mov eax, dword [esp + 0x14]
mov byte [esp + 0x78], 0
test eax, eax
je 0x4ea9a9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x78], 0xffffffff
lea ecx, [esi + 0x24]
call fcn.004d1295
lea ecx, [esi + 0x4c]
call fcn.004d1295
mov eax, dword [esi + 0x74]
xor ebx, ebx
cmp eax, ebx
je 0x4ea9d7
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esi + 0x74], ebx
mov eax, dword [esi + 0xb4]
cmp eax, ebx
je 0x4ea9ed
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0xb4], ebx
mov eax, edi
jmp 0x4eaa5f
mov eax, dword [esp + 0x14]
mov byte [esp + 0x78], 0
cmp eax, ebx
je 0x4eaa04
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x4eaa20
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x24], ebx
mov eax, dword [esi + 0x4c]
cmp eax, ebx
je 0x4eaa30
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esi + 0x4c], ebx
mov eax, dword [esi + 0x74]
cmp eax, ebx
je 0x4eaa40
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x74], ebx
mov eax, dword [esi + 0xb4]
cmp eax, ebx
je 0x4ea9ed
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esi + 0xb4], ebx
mov eax, edi
jmp 0x4eaa5f
mov eax, 0x80070057
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 0x1c