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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
push ebx
push esi
push edi
mov edi, edx
mov dword [esp + 0x30], edi
mov ebx, ecx
mov dword [esp + 0x18], ebx
xor al, al
mov dword [esp + 0x4c], 0
mov byte [esp + 0xd], al
xor dl, dl
mov byte [esp + 0xc], al
mov eax, dword [ebp + 8]
mov byte [esp + 0xf], dl
xor cl, cl
mov edx, dword [ebp + 0x10]
add eax, edx
mov esi, eax
mov byte [esp + 0xe], cl
xor ecx, ecx
mov dword [esp + 0x110], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x114], ecx
mov ecx, dword [ebp + 0xc]
lea eax, [esi - 1]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], esi
test ebx, ebx
jne 0x4dfc93
test edi, edi
jne 0x4dfc93
test eax, eax
jne 0x4dfc93
cmp ecx, 0xfffffc19
jne 0x4dfc93
cmp edx, ecx
jne 0x4dfc93
push eax
push eax
push eax
push eax
push eax
xor edx, edx
xor ecx, ecx
call fcn.004d2190
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x14]
test edi, 0xe20f5a6f
je 0x4dfcaa
mov eax, 0xfffffffd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x4e0928
test eax, eax
je 0x4e0928
cmp dword [ebp + 0x18], 0
je 0x4e0928
test ecx, ecx
jns 0x4dfcd4
mov eax, 0xffffffe0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
js 0x4e091c
cmp edx, ecx
jg 0x4e091c
mov ecx, dword [ebx]
cmp ecx, 0x50435245
je 0x4dfd08
cmp ecx, 0x45524350
mov eax, 0xfffffffc
mov edx, 0xffffffe3
cmove eax, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test byte [ebx + 0xc], 1
jne 0x4dfd1a
mov eax, 0xffffffe4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 8]
mov eax, 0
and ecx, 0x800
mov dword [esp + 0x44], ecx
setne al
mov dword [esp + 0x24], eax
mov dword [esp + 0x9c], eax
test edi, 0x8000000
je 0x4dfd49
mov edi, 2
jmp 0x4dfd4f
shr edi, 0xf
and edi, 1
mov dword [esp + 0xd8], edi
test ecx, ecx
je 0x4dfdc7
test dword [ebp + 0x14], 0x2000
jne 0x4dfdc7
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
mov ecx, dword [ebp + 8]
push eax
call fcn.004e1860
add esp, 4
test eax, eax
je 0x4dfda5
mov edx, dword [ebp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [edx], ecx
mov dword [edx + 4], eax
cmp eax, 5
jg 0x4dfd99
mov eax, 0xffffffe7
cmp edi, 1
ja 0x4e092d
mov eax, 0xfffffff6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x4dfdc7
cmp eax, dword [ebp + 0xc]
jge 0x4dfdc7
mov eax, esi
mov al, byte [eax]
and al, 0xc0
cmp al, 0x80
jne 0x4dfdc7
mov eax, 0xfffffff5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, word [ebx + 0x22]
mov ecx, 0x989680
movzx edi, word [ebx + 0x24]
add eax, ebx
mov dword [esp + 0x80], eax
mov edx, ecx
movzx eax, word [ebx + 0x26]
mov ebx, dword [ebx + 0x30]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x74], edi
mov dword [esp + 0x38], 0
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0xf8], 0
mov dword [esp + 0x1c], ebx
test eax, eax
je 0x4dfe5e
mov ebx, dword [eax]
test bl, 1
je 0x4dfe25
mov ebx, dword [eax + 4]
mov dword [esp + 0x38], ebx
mov ebx, dword [eax]
test bl, 2
je 0x4dfe31
mov ecx, dword [eax + 8]
mov dword [esp + 0x54], ecx
test bl, 0x10
je 0x4dfe3d
mov edx, dword [eax + 0x14]
mov dword [esp + 0x58], edx
test bl, 4
je 0x4dfe50
mov eax, dword [eax + 0xc]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x30]
test bl, 8
je 0x4dfe5a
mov ebx, dword [eax + 0x10]
jmp 0x4dfe5e
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 0xc]
test esi, 0x2000
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x2c]
je 0x4dfe85
mov eax, dword [eax + 0x10]
cmp eax, ecx
cmovb ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x54], ecx
test dword [esp + 0x20], 0x4000
je 0x4dfe9b
mov eax, dword [eax + 0x14]
cmp eax, edx
cmovb edx, eax
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x18]
test ebx, ebx
mov ecx, 0x6ec898
mov dword [esp + 0x7c], 0
cmovne ecx, ebx
mov dword [esp + 0xb4], 0
mov dword [esp + 0x100], 0
mov eax, dword [edx + 8]
mov dword [esp + 0x2c], eax
or eax, dword [ebp + 0x14]
mov dword [esp + 0x1c], eax
movzx eax, word [edx + 0x26]
imul edi, eax
movzx eax, word [edx + 0x22]
mov dword [esp + 0xfc], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0x88], ecx
add edi, eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xe4], eax
add edi, edx
mov edx, dword [ebp + 8]
mov dword [esp + 0xc4], edx
add edx, dword [ebp + 0xc]
mov ebx, edx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x2c]
mov eax, edx
shr eax, 5
and eax, 1
mov dword [esp + 0xc0], edi
mov dword [esp + 0xa8], eax
mov eax, edx
mov edi, dword [ebp + 0x14]
shr eax, 0x1d
and eax, 1
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xa4], eax
mov eax, edx
shr eax, 0x19
and eax, 1
mov dword [esp + 0xa0], eax
mov eax, edi
shr eax, 7
and eax, 1
mov dword [esp + 0x94], eax
mov eax, edi
shr eax, 8
and eax, 1
mov dword [esp + 0x98], eax
mov eax, edi
shr eax, 0xa
and eax, 1
mov dword [esp + 0xac], eax
mov eax, edi
shr eax, 0x1c
and eax, 1
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x20]
shr eax, 0xc
and eax, 1
mov dword [esp + 0xbc], eax
lea eax, [ecx + 0x100]
mov dword [esp + 0x8c], eax
lea eax, [ecx + 0x340]
mov dword [esp + 0x90], eax
mov eax, edi
and eax, 0x1800000
je 0x4e0042
cmp eax, 0x800000
je 0x4e0035
cmp eax, 0x1000000
jne 0x4e008d
mov dword [esp + 0xb8], 0
test edi, 0x700000
mov eax, edi
cmove eax, edx
and eax, 0x700000
cmp eax, 0x300000
ja 0x4e007f
je 0x4e0062
test eax, eax
je 0x4e0018
cmp eax, 0x100000
je 0x4e005b
cmp eax, 0x200000
jne 0x4e008d
mov eax, 0xa
xor ecx, ecx
mov byte [esp + 0x84], al
mov dword [esp + 0x68], ecx
mov ecx, 1
mov dword [esp + 0x6c], ecx
jmp 0x4e00a9
mov dword [esp + 0xb8], 1
jmp 0x4dffed
test edx, 0x1800000
je 0x4dffe2
mov eax, edx
shr eax, 0x17
and eax, 1
mov dword [esp + 0xb8], eax
jmp 0x4dffed
mov eax, 0xd
jmp 0x4e001d
mov ecx, 2
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], ecx
mov word [esp + 0x84], 0xa0d
jmp 0x4e00a9
cmp eax, 0x400000
je 0x4e00a0
cmp eax, 0x500000
je 0x4e0099
mov eax, 0xffffffe9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 2
jmp 0x4e00a5
mov ecx, 1
mov dword [esp + 0x68], ecx
cmp dword [esp + 0xd8], 0
je 0x4e00c9
test dword [esp + 0x20], 0x200
je 0x4e00c9
mov eax, 0xfffffff3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x18]
mov eax, 0x3f
mov dword [esp + 0x10], eax
movzx ecx, word [ecx + 0x20]
test cx, cx
je 0x4e0125
cmp ecx, 0x15
jb 0x4e0125
inc ecx
lea eax, [ecx + ecx*2]
mov dword [esp + 0x10], eax
shl eax, 2
push eax
call fcn.004c8b60
mov edi, eax
add esp, 4
mov dword [esp + 0x5c], edi
test edi, edi
jne 0x4e010c
lea eax, [edi - 6]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + 0xc8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], 1
mov dword [esp + 0x28], edi
jmp 0x4e0132
mov ecx, dword [ebp + 0x18]
mov edi, ecx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x28], ecx
lea ecx, [eax + eax]
mov dword [esp + 0x60], eax
mov eax, 0x55555556
mov dword [esp + 0xe0], 0
imul ecx
mov ecx, dword [esp + 0x28]
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x64], eax
test ecx, ecx
je 0x4e01b9
mov eax, dword [esp + 0x10]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x18]
mov edx, ecx
movzx eax, word [eax + 0x1e]
shl eax, 2
sub edx, eax
mov eax, dword [esp + 0x28]
add eax, 8
cmp edx, eax
cmovb edx, eax
sub ecx, 4
cmp ecx, edx
jb 0x4e01a1
nop word [eax + eax]
mov dword [ecx], 0xffffffff
sub ecx, 4
cmp ecx, edx
jae 0x4e0190
mov edi, dword [esp + 0x5c]
mov dword [edi], 0xffffffff
mov eax, dword [esp + 0x5c]
mov dword [eax + 4], 0xffffffff
mov ebx, dword [esp + 0xc8]
test byte [esp + 0x1c], 0x10
mov edx, dword [esp + 0x18]
jne 0x4e021f
mov eax, dword [edx + 0xc]
test al, 0x10
je 0x4e01f7
mov ch, byte [edx + 0x18]
mov dword [esp + 0x3c], 1
mov cl, ch
mov byte [esp + 0xd], ch
mov byte [esp + 0xe], cl
test al, 0x20
je 0x4e021f
movzx eax, ch
mov ecx, dword [esp + 0x8c]
mov al, byte [eax + ecx]
mov byte [esp + 0xd], al
jmp 0x4e0226
test dword [esp + 0x20], 0x100
jne 0x4e021f
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4e021f
test byte [eax + 4], 1
mov ecx, dword [esp + 0x8c]
je 0x4e0226
add eax, 8
mov dword [esp + 0x34], eax
jmp 0x4e0226
mov ecx, dword [esp + 0x8c]
mov eax, dword [edx + 0xc]
test al, 0x40
je 0x4e0260
mov dh, byte [edx + 0x1a]
mov dword [esp + 0x10c], 1
mov dl, dh
mov byte [esp + 0xc], dh
mov byte [esp + 0xf], dl
test al, al
jns 0x4e0260
movzx eax, dh
mov al, byte [eax + ecx]
mov byte [esp + 0xc], al
nop dword [eax]
nop word [eax + eax]
test dword [esp + 0x2c], 0x40000
mov ecx, dword [esp + 0x14]
mov edi, ecx
je 0x4e037a
cmp dword [esp + 0x44], 0
mov edi, esi
je 0x4e0317
cmp esi, ebx
jae 0x4e037a
mov edx, dword [esp + 0x68]
nop dword [eax]
test edx, edx
je 0x4e02c1
cmp edi, ebx
jae 0x4e02f5
push dword [esp + 0x24]
lea eax, [esp + 0x70]
mov ecx, edi
push eax
push ebx
call fcn.004e1570
add esp, 0xc
test eax, eax
jne 0x4e037a
mov ebx, dword [esp + 0xc8]
mov edx, dword [esp + 0x68]
jmp 0x4e02f1
mov ecx, dword [esp + 0x6c]
mov eax, ebx
sub eax, ecx
cmp edi, eax
ja 0x4e02f1
mov al, byte [edi]
cmp al, byte [esp + 0x84]
jne 0x4e02f1
cmp ecx, 1
je 0x4e037a
mov al, byte [edi + 1]
cmp al, byte [esp + 0x85]
je 0x4e037a
mov ecx, dword [esp + 0x14]
inc edi
cmp edi, ecx
jae 0x4e030d
nop word [eax + eax]
mov al, byte [edi]
and al, 0xc0
cmp al, 0x80
jne 0x4e030d
inc edi
cmp edi, ecx
jb 0x4e0300
cmp edi, ebx
jb 0x4e0290
jmp 0x4e037a
cmp esi, ebx
jae 0x4e037a
mov edx, dword [esp + 0x68]
nop
test edx, edx
je 0x4e034d
cmp edi, ebx
jae 0x4e0375
push dword [esp + 0x24]
lea eax, [esp + 0x70]
mov ecx, edi
push eax
push ebx
call fcn.004e1570
add esp, 0xc
test eax, eax
jne 0x4e037a
mov ebx, dword [esp + 0xc8]
mov edx, dword [esp + 0x68]
jmp 0x4e0375
mov ecx, dword [esp + 0x6c]
mov eax, ebx
sub eax, ecx
cmp edi, eax
ja 0x4e0375
mov al, byte [edi]
cmp al, byte [esp + 0x84]
jne 0x4e0375
cmp ecx, 1
je 0x4e037a
mov al, byte [edi + 1]
cmp al, byte [esp + 0x85]
je 0x4e037a
inc edi
cmp edi, ebx
jb 0x4e0320
mov eax, dword [esp + 0x18]
mov ebx, dword [eax + 8]
or ebx, dword [ebp + 0x14]
and ebx, 0x4000000
mov dword [esp + 0x28], ebx
jne 0x4e0541
cmp dword [esp + 0x3c], 0
je 0x4e03e2
cmp esi, edi
jae 0x4e0541
mov cl, byte [esp + 0xe]
mov dl, byte [esp + 0xd]
cmp cl, dl
je 0x4e03d0
nop
mov al, byte [esi]
cmp al, cl
je 0x4e0541
cmp al, dl
je 0x4e0541
inc esi
cmp esi, edi
jb 0x4e03b0
jmp 0x4e0541
cmp byte [esi], cl
je 0x4e0541
inc esi
cmp esi, edi
jb 0x4e03d0
jmp 0x4e0541
test dword [esp + 0x20], 0x100
je 0x4e0512
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0xc4]
add eax, ecx
cmp esi, eax
jbe 0x4e0541
cmp esi, edi
jae 0x4e04f2
cmp dword [esp + 0x44], 0
je 0x4e048f
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4e043f
cmp esi, ecx
jbe 0x4e0479
push dword [esp + 0x24]
lea edx, [esp + 0x70]
push edx
push ecx
mov edx, eax
mov ecx, esi
call fcn.004e16d0
add esp, 0xc
test eax, eax
jne 0x4e04f2
jmp 0x4e0472
mov edx, dword [esp + 0x6c]
lea eax, [ecx + edx]
cmp esi, eax
jb 0x4e0479
mov ecx, esi
sub ecx, edx
mov al, byte [ecx]
cmp al, byte [esp + 0x84]
jne 0x4e0472
cmp edx, 1
je 0x4e04f2
mov al, byte [ecx + 1]
cmp al, byte [esp + 0x85]
je 0x4e04f2
mov ecx, dword [esp + 0xc4]
inc esi
cmp esi, edi
jae 0x4e04f2
nop
mov al, byte [esi]
and al, 0xc0
cmp al, 0x80
jne 0x4e0413
inc esi
cmp esi, edi
jb 0x4e0480
jmp 0x4e04f2
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4e04b7
cmp esi, ecx
jbe 0x4e04ed
push dword [esp + 0x24]
lea edx, [esp + 0x70]
push edx
push ecx
mov edx, eax
mov ecx, esi
call fcn.004e16d0
add esp, 0xc
test eax, eax
jne 0x4e04f2
jmp 0x4e04e2
mov edx, dword [esp + 0x6c]
lea eax, [ecx + edx]
cmp esi, eax
jb 0x4e04e9
mov ecx, esi
sub ecx, edx
mov al, byte [ecx]
cmp al, byte [esp + 0x84]
jne 0x4e04e2
cmp edx, 1
je 0x4e04f2
mov al, byte [ecx + 1]
cmp al, byte [esp + 0x85]
je 0x4e04f2
mov ecx, dword [esp + 0xc4]
mov eax, dword [esp + 0x68]
inc esi
cmp esi, edi
jb 0x4e0493
cmp byte [esi - 1], 0xd
jne 0x4e0541
mov eax, dword [esp + 0x68]
cmp eax, 1
je 0x4e0506
cmp eax, 2
jne 0x4e0541
cmp esi, edi
jae 0x4e0541
cmp byte [esi], 0xa
jne 0x4e0541
inc esi
jmp 0x4e0541
cmp dword [esp + 0x34], 0
je 0x4e0541
cmp esi, edi
jae 0x4e0541
mov ebx, dword [esp + 0x34]
movzx edx, byte [esi]
mov eax, 1
mov ecx, edx
shr edx, 3
and ecx, 7
shl eax, cl
test byte [edx + ebx], al
jne 0x4e053d
inc esi
cmp esi, edi
jb 0x4e0521
mov ebx, dword [esp + 0x28]
test ebx, ebx
jne 0x4e05dc
cmp dword [esp + 0xd8], ebx
jne 0x4e05dc
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
test ecx, ecx
je 0x4e0571
test byte [ecx + 4], 2
je 0x4e0571
mov eax, edx
sub eax, esi
cmp eax, dword [ecx + 0x28]
jb case.0x4e0670.996
cmp dword [esp + 0x10c], 0
je 0x4e05dc
mov eax, edx
sub eax, esi
cmp eax, 0x3e8
jge 0x4e05dc
mov eax, dword [esp + 0x3c]
lea ecx, [esi + eax]
cmp ecx, dword [esp + 0x40]
jbe 0x4e05dc
cmp ecx, edx
jae case.0x4e0670.996
mov ah, byte [esp + 0xf]
cmp ah, byte [esp + 0xc]
je 0x4e05c0
mov al, byte [ecx]
mov ebx, ecx
inc ecx
mov dword [esp + 0x40], ebx
cmp al, ah
je 0x4e05d8
cmp al, byte [esp + 0xc]
je 0x4e05d8
cmp ecx, edx
jb 0x4e05a1
xor ebx, ebx
jmp 0x4e07b4
mov al, byte [ecx]
mov ebx, ecx
mov dword [esp + 0x40], ecx
inc ecx
cmp al, ah
je 0x4e05d8
cmp ecx, edx
jb 0x4e05c0
xor ebx, ebx
jmp 0x4e07b4
cmp ebx, edx
jae case.0x4e0670.996
mov edx, dword [esp + 0xc0]
lea eax, [esp + 0x50]
push 0
push 0
push eax
push 2
push esi
mov ecx, esi
mov dword [esp + 0xe0], esi
mov dword [esp + 0xe8], esi
mov dword [esp + 0x64], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0x8c], 0
call fcn.004d2190
add esp, 0x14
mov dword [esp + 0x10], eax
cmp dword [esp + 0xb4], 0
je 0x4e0657
cmp dword [esp + 0x48], 0
jne 0x4e0657
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x114], esi
test eax, eax
jg case.default.0x4e0670
je case.0x4e0670.995
lea ecx, [eax + 0x3e4]
cmp ecx, 4
ja case.default.0x4e0670
jmp dword [ecx*4 + 0x4e0934]
mov eax, dword [esp + 0x78]
mov edi, esi
mov dword [esp + 0x7c], eax
jmp 0x4e06b5
mov edi, dword [esp + 0xcc]
cmp edi, esi
ja 0x4e06b5
cmp dword [esp + 0x44], 0
lea edi, [esi + 1]
mov dword [esp + 0x7c], 0
je 0x4e06b5
mov ecx, dword [esp + 0x14]
cmp edi, ecx
jae 0x4e06b5
mov al, byte [edi]
and al, 0xc0
cmp al, 0x80
jne 0x4e06b5
inc edi
cmp edi, ecx
jb 0x4e06a8
test dword [esp + 0x2c], 0x40000
mov eax, dword [esp + 0x68]
mov ebx, dword [esp + 0xc8]
mov dword [esp + 0x10], 0
je 0x4e0707
test eax, eax
je 0x4e076b
cmp esi, ebx
jae 0x4e0707
push dword [esp + 0x24]
lea ecx, [esp + 0x70]
mov edx, eax
push ecx
push ebx
mov ecx, esi
call fcn.004e1570
add esp, 0xc
test eax, eax
jne 0x4e07b0
mov ebx, dword [esp + 0xc8]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
test byte [esp + 0x1c], 0x10
mov esi, edi
jne 0x4e07b0
mov edx, dword [esp + 0x14]
cmp edi, edx
ja 0x4e07b0
cmp edi, dword [esp + 0x110]
jbe 0x4e075b
cmp byte [edi - 1], 0xd
jne 0x4e075b
cmp edi, edx
jae 0x4e075b
cmp byte [edi], 0xa
jne 0x4e075b
mov edx, dword [esp + 0x18]
test dword [edx + 0xc], 0x800
jne 0x4e075b
cmp eax, 1
je 0x4e0758
cmp eax, 2
je 0x4e0758
cmp ecx, 2
jne 0x4e075b
lea esi, [edi + 1]
mov dword [esp + 0xfc], 0
jmp 0x4e0260
mov ecx, dword [esp + 0x6c]
mov eax, ebx
sub eax, ecx
cmp esi, eax
ja 0x4e0793
mov al, byte [esi]
cmp al, byte [esp + 0x84]
jne 0x4e0793
cmp ecx, 1
je 0x4e07b0
mov al, byte [esi + 1]
cmp al, byte [esp + 0x85]
je 0x4e07b0
mov eax, dword [esp + 0x68]
jmp 0x4e070b
cmp eax, 1
je 0x4e082e
cmp eax, 0xfffffc19
je 0x4e082e
mov ebx, dword [esp + 0x10]
cmp dword [esp + 0x4c], 0
je 0x4e07c7
push dword [esp + 0x5c]
call fcn.004c8b70
add esp, 4
test ebx, ebx
je 0x4e07d9
cmp ebx, 0xfffffff4
je 0x4e07d9
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x114]
test edx, edx
je 0x4e0803
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x48]
sub ecx, dword [ebp + 8]
sub edx, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov eax, 0xfffffff4
jmp 0x4e0806
or eax, 0xffffffff
mov edi, dword [esp + 0x30]
test edi, edi
je 0x4e092d
test byte [edi], 0x20
je 0x4e092d
mov edx, dword [edi + 0x18]
mov ecx, dword [esp + 0x100]
mov dword [edx], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x4c], 0
mov ebx, dword [ebp + 0x18]
je 0x4e086f
mov esi, dword [esp + 0x5c]
push 0xa0
lea eax, [esi + 8]
push eax
lea eax, [ebx + 8]
push eax
call fcn.0050be00
add esp, 0xc
cmp dword [esp + 0xdc], 0x2a
jle 0x4e0866
or dword [esp + 0xe0], 0x10000
push esi
call fcn.004c8b70
add esp, 4
test dword [esp + 0xe0], 0x10000
mov ecx, dword [esp + 0xdc]
je 0x4e088c
cmp ecx, 0x2a
jl 0x4e088c
xor esi, esi
jmp 0x4e0895
mov eax, ecx
cdq
sub eax, edx
mov esi, eax
sar esi, 1
mov eax, dword [esp + 0x18]
movzx edi, word [eax + 0x1e]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
cmp eax, edi
jg 0x4e08d9
lea eax, [edi*2 + 2]
mov edx, 0x3f
cmp eax, edx
lea edi, [ebx + ecx*4]
cmova eax, edx
xor edx, edx
lea eax, [ebx + eax*4]
mov ecx, eax
sub ecx, edi
add ecx, 3
shr ecx, 2
cmp edi, eax
cmova ecx, edx
test ecx, ecx
je 0x4e08d9
or eax, 0xffffffff
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xcc]
sub eax, dword [esp + 0xc4]
mov edi, dword [esp + 0x30]
mov dword [ebx], eax
mov eax, dword [esp + 0xd0]
sub eax, dword [esp + 0xc4]
mov dword [ebx + 4], eax
test edi, edi
je 0x4e0913
test byte [edi], 0x20
je 0x4e0913
mov edx, dword [edi + 0x18]
mov ecx, dword [esp + 0xfc]
mov dword [edx], ecx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xffffffe8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xfffffffe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret