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

Disassembly:
push 0xffffffffffffffff
push 0x100a3a10
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 0xc4fdea
cmp dword [esp + 0x94], 4
jne 0xc4fdea
call fcn.00c4f234
test al, al
jne 0xc4f524
mov eax, 0x8007000e
jmp 0xc4fdef
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 0xc4f56a
mov eax, dword [eax]
cmp eax, ebp
je 0xc4f56a
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp eax, ebp
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
ja 0xc4f56a
jb 0xc4f562
cmp ecx, 0x1000000
ja 0xc4f56a
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.00beb984
lea ecx, [edi + 0x10]
call fcn.00beb993
mov eax, dword [esi + 4]
lea ecx, [edi + 0x38]
push eax
call fcn.00beb984
lea ecx, [edi + 0x38]
call fcn.00beb993
mov edx, dword [esi + 8]
lea ecx, [edi + 0x60]
push edx
call fcn.00beb984
lea ecx, [edi + 0x60]
call fcn.00beb993
mov esi, dword [esi + 0xc]
lea ecx, [edi + 0xa0]
push esi
call fcn.00beb984
lea esi, [edi + 0x88]
lea ecx, [esi + 0x18]
call fcn.00beb993
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 0x100a5438
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 0xc4f695
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 0xc4fbbb
mov eax, dword [esp + 0x28]
test eax, eax
je 0xc4f695
add edi, eax
mov eax, 0x20000
sub eax, edi
sub eax, ebx
jne 0xc4f65a
add edi, ebx
cmp edi, 5
mov dword [esp + 0x20], edi
jb 0xc4fc04
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 0xc4f6ed
call fcn.00beba81
mov cl, bl
and cl, 0xfe
cmp cl, 0xe8
je 0xc4f718
cmp byte [esp + 0x80], 0xf
jne 0xc4f70b
mov dl, bl
and dl, 0xf0
cmp dl, 0x80
je 0xc4f718
inc ebp
mov dword [esp + 0x8c], ebp
jmp 0xc4fb39
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 0xc4f8cb
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 0xc4f83a
jb 0xc4f788
cmp dword [esp + 0x38], ebp
jae 0xc4f83a
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 0xc4f7e3
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 0xc4f81d
cmp edi, 1
je 0xc4f7f4
cmp edi, 0x80004001
jne 0xc4fd26
mov eax, dword [esp + 0x14]
test eax, eax
je 0xc4f808
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 0xc4f788
ja 0xc4f833
cmp dword [esp + 0x38], ebp
jb 0xc4f788
mov cl, byte [esp + 0x84]
test eax, eax
jne 0xc4f870
mov al, byte [esp + 0x88]
test al, al
je 0xc4f88f
mov ecx, dword [esp + 0x5c]
xor eax, eax
cmp eax, ecx
ja 0xc4f869
jb 0xc4f8f9
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x1c]
cmp eax, edx
jb 0xc4f8f9
xor cl, cl
jmp 0xc4f8fb
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 0xc4f88f
cmp eax, 0x1000000
jbe 0xc4f89c
test cl, cl
je 0xc4f8f9
cmp cl, 0xff
je 0xc4f8f9
xor cl, cl
jmp 0xc4f8fb
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 0xc4f8c7
ja 0xc4f8b9
cmp eax, edi
jb 0xc4f8c7
cmp edx, dword [esp + 0x3c]
ja 0xc4f8c7
jb 0xc4f8f9
cmp eax, dword [esp + 0x38]
jb 0xc4f8f9
xor cl, cl
jmp 0xc4f8fb
mov al, byte [esp + 0x88]
test al, al
je 0xc4f8ec
mov ecx, dword [esp + 0x5c]
xor eax, eax
cmp eax, ecx
ja 0xc4f8e8
jb 0xc4f8f9
cmp edx, dword [esp + 0x58]
jb 0xc4f8f9
xor cl, cl
jmp 0xc4f8fb
test cl, cl
je 0xc4f8f9
cmp cl, 0xff
je 0xc4f8f9
xor cl, cl
jmp 0xc4f8fb
mov cl, 1
mov bl, byte [esp + 0x94]
cmp bl, 0xe8
jne 0xc4f915
mov eax, dword [esp + 0x80]
and eax, 0xff
jmp 0xc4f922
xor eax, eax
cmp bl, 0xe9
setne al
add eax, 0x100
test cl, cl
je 0xc4fa6c
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 0xc4fa00
mov edi, dword [esi + 8]
shl eax, 8
cmp edi, 0xff000000
mov dword [esi + 0x10], eax
jb 0xc4f99b
mov edx, dword [esi + 0xc]
mov ecx, 0x20
mov eax, edi
call fcn.00c7feb4
test eax, eax
je 0xc4f9e7
mov bl, byte [esi + 4]
lea edi, [esi + 0x18]
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov ecx, 0x20
call fcn.00c7feb4
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 0xc4f9d2
mov ecx, edi
call fcn.00beba81
mov eax, dword [esi]
or bl, 0xff
dec eax
mov dword [esi], eax
jne 0xc4f9a1
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 0xc4fa1f
mov ecx, dword [esp + 0x10]
lea edi, [ecx + 0x38]
jmp 0xc4fa26
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 0xc4fa54
mov ecx, edi
call fcn.00beba81
sub ebx, 8
jns 0xc4fa2f
mov al, byte [esp + 0x84]
mov byte [esp + 0x80], al
jmp 0xc4fb40
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 0xc4fb32
mov edi, dword [esi + 8]
shl eax, 8
cmp edi, 0xff000000
mov dword [esi + 0x10], eax
jb 0xc4facd
mov edx, dword [esi + 0xc]
mov ecx, 0x20
mov eax, edi
call fcn.00c7feb4
test eax, eax
je 0xc4fb19
mov bl, byte [esi + 4]
lea edi, [esi + 0x18]
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov ecx, 0x20
call fcn.00c7feb4
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 0xc4fb04
mov ecx, edi
call fcn.00beba81
mov eax, dword [esi]
or bl, 0xff
dec eax
mov dword [esi], eax
jne 0xc4fad3
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 0xc4f6b6
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 0xc4fb97
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 0xc4fd81
mov edi, dword [esp + 0x20]
cmp ebp, edi
jae 0xc4fbb4
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 0xc4fb9f
xor ebp, ebp
jmp 0xc4f64f
mov eax, dword [esp + 0x14]
mov byte [esp + 0x78], 0
test eax, eax
je 0xc4fbce
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.00c4d372
lea ecx, [esi + 0x4c]
call fcn.00c4d372
lea ecx, [esi + 0x74]
call fcn.00c4d372
lea ecx, [esi + 0xb4]
call fcn.00c4d372
mov eax, ebp
jmp 0xc4fdef
xor ebp, ebp
test edi, edi
jbe 0xc4fcc5
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 0xc4fc36
call fcn.00beba81
cmp bl, 0xe8
jne 0xc4fc4a
mov ecx, dword [esp + 0x80]
and ecx, 0xff
jmp 0xc4fc6f
cmp bl, 0xe9
jne 0xc4fc56
mov ecx, 0x100
jmp 0xc4fc6f
cmp byte [esp + 0x80], 0xf
jne 0xc4fcb1
mov cl, bl
and cl, 0xf0
cmp cl, 0x80
jne 0xc4fcb1
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 0xc4fcb1
shl eax, 8
mov ecx, esi
mov dword [esi + 0x10], eax
call fcn.00c4fe04
mov eax, dword [esp + 0x20]
inc ebp
cmp ebp, eax
mov byte [esp + 0x80], bl
jb 0xc4fc0e
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.00c4f3d4
mov edi, eax
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [esp + 0x78], 0
je 0xc4fce5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esi + 0x24]
mov dword [esp + 0x78], 0xffffffff
call fcn.00c4d372
lea ecx, [esi + 0x4c]
call fcn.00c4d372
lea ecx, [esi + 0x74]
call fcn.00c4d372
mov eax, dword [esi + 0xb4]
test eax, eax
je 0xc4fd1f
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esi + 0xb4], 0
mov eax, edi
jmp 0xc4fdef
mov eax, dword [esp + 0x14]
mov byte [esp + 0x78], 0
test eax, eax
je 0xc4fd39
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.00c4d372
lea ecx, [esi + 0x4c]
call fcn.00c4d372
mov eax, dword [esi + 0x74]
xor ebx, ebx
cmp eax, ebx
je 0xc4fd67
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esi + 0x74], ebx
mov eax, dword [esi + 0xb4]
cmp eax, ebx
je 0xc4fd7d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0xb4], ebx
mov eax, edi
jmp 0xc4fdef
mov eax, dword [esp + 0x14]
mov byte [esp + 0x78], 0
cmp eax, ebx
je 0xc4fd94
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 0xc4fdb0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x24], ebx
mov eax, dword [esi + 0x4c]
cmp eax, ebx
je 0xc4fdc0
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esi + 0x4c], ebx
mov eax, dword [esi + 0x74]
cmp eax, ebx
je 0xc4fdd0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x74], ebx
mov eax, dword [esi + 0xb4]
cmp eax, ebx
je 0xc4fd7d
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esi + 0xb4], ebx
mov eax, edi
jmp 0xc4fdef
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