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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
xor eax, eax
xor edx, edx
xor ecx, ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ecx
mov byte [ebp - 0x29], 0
mov byte [ebp - 0x2a], 0
mov byte [ebp - 0x2b], 0
mov byte [ebp - 0x2c], 0
xor eax, eax
lea ebx, [ebp - 0x128]
mov dword [ebp - 0x34], eax
xor eax, eax
mov esi, dword [ebp + 0x10]
add esi, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
lea edx, [esi - 1]
mov dword [ebp - 0x40], edx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x48], ecx
cmp dword [ebp - 0x48], 0
jne 0x4dc064
cmp dword [ebp + 0xc], 0
jne 0x4dc064
cmp dword [ebp + 0x10], 0
jne 0x4dc064
cmp dword [ebp + 0x14], 0xfffffc19
jne 0x4dc064
cmp dword [ebp + 0x18], 0xfffffc19
jne 0x4dc064
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call fcn.004d1724
add esp, 0x1c
jmp 0x4dcd88
test dword [ebp + 0x1c], 0xe20f5a6f
je 0x4dc077
mov eax, 0xfffffffd
jmp 0x4dcd88
cmp dword [ebp - 0x48], 0
je 0x4dc08f
cmp dword [ebp + 0x10], 0
je 0x4dc08f
cmp dword [ebp + 0x20], 0
jne 0x4dc099
cmp dword [ebp + 0x24], 0
jle 0x4dc099
mov eax, 0xfffffffe
jmp 0x4dcd88
cmp dword [ebp + 0x24], 0
jge 0x4dc0a9
mov eax, 0xfffffff1
jmp 0x4dcd88
cmp dword [ebp + 0x14], 0
jge 0x4dc0b9
mov eax, 0xffffffe0
jmp 0x4dcd88
cmp dword [ebp + 0x18], 0
jl 0x4dc0c7
mov edx, dword [ebp + 0x18]
cmp edx, dword [ebp + 0x14]
jle 0x4dc0d1
mov eax, 0xffffffe8
jmp 0x4dcd88
mov edx, dword [ebp - 0x48]
cmp dword [edx], 0x50435245
je 0x4dc0fb
mov ecx, dword [ebp - 0x48]
cmp dword [ecx], 0x45524350
jne 0x4dc0f1
mov eax, 0xffffffe3
jmp 0x4dcd88
mov eax, 0xfffffffc
jmp 0x4dcd88
mov edx, dword [ebp - 0x48]
test byte [edx + 0xc], 1
jne 0x4dc10e
mov eax, 0xffffffe4
jmp 0x4dcd88
mov edx, dword [ebp - 0x48]
test byte [edx + 9], 8
setne cl
and ecx, 1
mov dword [ebx + 0x48], ecx
mov dword [ebp - 0x20], ecx
test byte [ebp + 0x1f], 8
je 0x4dc12e
mov eax, 2
jmp 0x4dc13d
test byte [ebp + 0x1d], 0x80
je 0x4dc13b
mov eax, 1
jmp 0x4dc13d
xor eax, eax
mov dword [ebx + 0x88], eax
cmp dword [ebp - 0x20], 0
je 0x4dc1df
test byte [ebp + 0x1d], 0x20
jne 0x4dc1df
lea edx, [ebp - 0x4c]
push edx
mov ecx, dword [ebp + 0x14]
push ecx
mov eax, dword [ebp + 0x10]
push eax
call fcn.004dd418
add esp, 0xc
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x4dc1ae
cmp dword [ebp + 0x24], 2
jl 0x4dc18b
mov edx, dword [ebp + 0x20]
mov ecx, dword [ebp - 0x4c]
mov dword [edx], ecx
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp - 0x50]
mov dword [eax + 4], edx
cmp dword [ebp - 0x50], 5
jg 0x4dc1a4
cmp dword [ebx + 0x88], 1
jle 0x4dc1a4
mov eax, 0xffffffe7
jmp 0x4dcd88
mov eax, 0xfffffff6
jmp 0x4dcd88
cmp dword [ebp + 0x18], 0
jle 0x4dc1df
mov edx, dword [ebp + 0x18]
cmp edx, dword [ebp + 0x14]
jge 0x4dc1df
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
xor edx, edx
mov dl, byte [ecx + eax]
and edx, 0xc0
cmp edx, 0x80
jne 0x4dc1df
mov eax, 0xfffffff5
jmp 0x4dcd88
mov edx, dword [ebp - 0x48]
movzx ecx, word [edx + 0x18]
add ecx, dword [ebp - 0x48]
mov dword [ebx + 0x28], ecx
mov eax, dword [ebp - 0x48]
movzx edx, word [eax + 0x1c]
mov dword [ebx + 0x20], edx
xor edx, edx
mov ecx, dword [ebp - 0x48]
movzx eax, word [ecx + 0x1a]
mov dword [ebx + 0x24], eax
mov dword [ebp - 0x44], edx
mov dword [ebx + 4], 0x989680
mov dword [ebx + 8], 0x989680
xor ecx, ecx
mov dword [ebx + 0xa8], ecx
mov eax, dword [ebp - 0x48]
mov edx, dword [eax + 0x20]
mov dword [ebp - 0x30], edx
cmp dword [ebp + 0xc], 0
je 0x4dc280
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov dword [ebp - 0x54], eax
test byte [ebp - 0x54], 1
je 0x4dc241
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x44], ecx
test byte [ebp - 0x54], 2
je 0x4dc250
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 8]
mov dword [ebx + 4], edx
test byte [ebp - 0x54], 0x10
je 0x4dc25f
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x14]
mov dword [ebx + 8], eax
test byte [ebp - 0x54], 4
je 0x4dc271
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx + 0xc]
mov dword [ebx + 0xa8], ecx
test byte [ebp - 0x54], 8
je 0x4dc280
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x30], 0
jne 0x4dc28d
mov dword [ebp - 0x30], 0x65d4f8
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx + 8]
or eax, dword [ebp + 0x1c]
test al, 0x10
setne dl
and edx, 1
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x48]
test byte [ecx + 0xd], 1
setne al
and eax, 1
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x48]
test byte [edx + 0xa], 4
setne cl
and ecx, 1
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x48]
movzx edx, word [eax + 0x1c]
movzx eax, word [ecx + 0x1a]
imul edx, eax
mov ecx, dword [ebp - 0x48]
movzx eax, word [ecx + 0x18]
add eax, dword [ebp - 0x48]
add edx, eax
mov dword [ebx + 0x70], edx
mov edx, dword [ebp + 0x10]
mov dword [ebx + 0x74], edx
mov ecx, dword [ebp + 0x18]
mov dword [ebx + 0x94], ecx
mov eax, dword [ebx + 0x74]
add eax, dword [ebp + 0x14]
mov dword [ebx + 0x78], eax
mov edx, dword [ebx + 0x78]
mov dword [ebp - 0x38], edx
mov ecx, dword [ebp - 0x48]
test byte [ecx + 8], 0x20
setne al
and eax, 1
mov dword [ebx + 0x54], eax
mov edx, dword [ebp - 0x48]
test byte [edx + 0xb], 0x20
setne cl
and ecx, 1
mov dword [ebx + 0x50], ecx
mov eax, dword [ebp - 0x48]
test byte [eax + 0xb], 2
setne dl
and edx, 1
xor ecx, ecx
mov dword [ebx + 0x4c], edx
mov dword [ebx + 0x6c], ecx
test byte [ebp + 0x1c], 0x80
setne al
and eax, 1
mov dword [ebx + 0x40], eax
test byte [ebp + 0x1d], 1
setne dl
and edx, 1
mov dword [ebx + 0x44], edx
test byte [ebp + 0x1d], 4
setne cl
and ecx, 1
mov dword [ebx + 0x58], ecx
test byte [ebp + 0x1f], 0x10
setne al
and eax, 1
xor edx, edx
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x60], edx
xor ecx, ecx
xor eax, eax
mov dword [ebx + 0xb0], ecx
mov dword [ebx + 0xac], ecx
mov dword [ebx + 0xa4], eax
mov edx, dword [ebp - 0x48]
test byte [edx + 0xd], 0x10
setne al
and eax, 1
mov dword [ebx + 0x68], eax
mov edx, dword [ebp - 0x30]
mov dword [ebx + 0x30], edx
mov ecx, dword [ebp - 0x30]
add ecx, 0x100
mov dword [ebx + 0x34], ecx
mov eax, dword [ebp - 0x30]
add eax, 0x340
mov dword [ebx + 0x38], eax
mov edx, dword [ebp + 0x1c]
and edx, 0x1800000
sub edx, 1
jb 0x4dc3d0
sub edx, 0x7fffff
je 0x4dc3f5
sub edx, 0x800000
je 0x4dc3fe
jmp 0x4dc405
mov ecx, dword [ebp - 0x48]
test dword [ecx + 8], 0x1800000
je 0x4dc3ee
mov eax, dword [ebp - 0x48]
test byte [eax + 0xa], 0x80
setne dl
and edx, 1
mov dword [ebx + 0x64], edx
jmp 0x4dc40f
xor ecx, ecx
mov dword [ebx + 0x64], ecx
jmp 0x4dc40f
mov dword [ebx + 0x64], 1
jmp 0x4dc40f
xor eax, eax
mov dword [ebx + 0x64], eax
jmp 0x4dc40f
mov eax, 0xffffffe9
jmp 0x4dcd88
test byte [ebp + 0x1e], 0x70
jne 0x4dc41d
mov edx, dword [ebp - 0x48]
mov ecx, dword [edx + 8]
jmp 0x4dc420
mov ecx, dword [ebp + 0x1c]
and ecx, 0x700000
cmp ecx, 0x300000
jg 0x4dc447
je 0x4dc474
sub ecx, 1
jb 0x4dc459
sub ecx, 0xfffff
je 0x4dc462
sub ecx, 0x100000
je 0x4dc46b
jmp 0x4dc48f
sub ecx, 0x400000
je 0x4dc47d
sub ecx, 0x100000
je 0x4dc486
jmp 0x4dc48f
mov dword [ebp - 0xc], 0xa
jmp 0x4dc499
mov dword [ebp - 0xc], 0xd
jmp 0x4dc499
mov dword [ebp - 0xc], 0xa
jmp 0x4dc499
mov dword [ebp - 0xc], 0xd0a
jmp 0x4dc499
mov dword [ebp - 0xc], 0xffffffff
jmp 0x4dc499
mov dword [ebp - 0xc], 0xfffffffe
jmp 0x4dc499
mov eax, 0xffffffe9
jmp 0x4dcd88
cmp dword [ebp - 0xc], 0xfffffffe
jne 0x4dc4a8
mov dword [ebx + 0x18], 2
jmp 0x4dc4ef
cmp dword [ebp - 0xc], 0
jge 0x4dc4b7
mov dword [ebx + 0x18], 1
jmp 0x4dc4ef
xor edx, edx
mov dword [ebx + 0x18], edx
cmp dword [ebp - 0xc], 0xff
jle 0x4dc4e2
mov dword [ebx + 0x1c], 2
mov eax, dword [ebp - 0xc]
sar eax, 8
and al, 0xff
mov byte [ebx + 0x2c], al
mov dl, byte [ebp - 0xc]
and dl, 0xff
mov byte [ebx + 0x2d], dl
jmp 0x4dc4ef
mov dword [ebx + 0x1c], 1
mov cl, byte [ebp - 0xc]
mov byte [ebx + 0x2c], cl
cmp dword [ebx + 0x88], 0
je 0x4dc50b
mov eax, dword [ebp - 0x48]
test byte [eax + 0xd], 2
je 0x4dc50b
mov eax, 0xfffffff3
jmp 0x4dcd88
mov eax, dword [ebp + 0x24]
mov ecx, 3
cdq
idiv ecx
mov eax, dword [ebp + 0x24]
sub eax, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, eax
mov ecx, 3
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x48]
cmp word [eax + 0x12], 0
jbe 0x4dc588
mov eax, dword [ebp - 4]
mov ecx, 3
cdq
idiv ecx
mov edx, dword [ebp - 0x48]
movzx ecx, word [edx + 0x12]
cmp eax, ecx
jg 0x4dc588
mov eax, dword [ebp - 0x48]
movzx eax, word [eax + 0x12]
lea edx, [eax + eax*2]
add edx, 3
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 4]
shl ecx, 2
push ecx
call dword [0x65e89c]
pop ecx
mov dword [ebx + 0xc], eax
cmp dword [ebx + 0xc], 0
jne 0x4dc57f
mov eax, 0xfffffffa
jmp 0x4dcd88
mov dword [ebp - 0x10], 1
jmp 0x4dc58e
mov edx, dword [ebp + 0x20]
mov dword [ebx + 0xc], edx
mov ecx, dword [ebp - 4]
mov dword [ebx + 0x10], ecx
mov eax, dword [ebp - 4]
add eax, eax
mov ecx, 3
cdq
idiv ecx
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x90], 0xffffffff
cmp dword [ebx + 0xc], 0
je 0x4dc610
mov edx, dword [ebp - 4]
shl edx, 2
add edx, dword [ebx + 0xc]
mov dword [ebp - 0x58], edx
mov ecx, dword [ebp - 0x48]
movzx eax, word [ecx + 0x10]
shl eax, 2
mov edx, dword [ebp - 0x58]
sub edx, eax
mov dword [ebp - 0x5c], edx
mov ecx, dword [ebx + 0xc]
add ecx, 8
cmp ecx, dword [ebp - 0x5c]
jbe 0x4dc5f6
mov eax, dword [ebx + 0xc]
add eax, 8
mov dword [ebp - 0x5c], eax
jmp 0x4dc5f6
mov edx, dword [ebp - 0x58]
mov dword [edx], 0xffffffff
sub dword [ebp - 0x58], 4
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [ebp - 0x5c]
jae 0x4dc5ed
mov eax, dword [ebx + 0xc]
or edx, 0xffffffff
mov dword [eax + 4], edx
mov eax, dword [ebx + 0xc]
mov dword [eax], edx
cmp dword [ebp - 0x14], 0
jne 0x4dc669
mov ecx, dword [ebp - 0x48]
test byte [ecx + 0xc], 0x10
je 0x4dc64b
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x48]
mov dl, byte [eax + 0x14]
mov byte [ebp - 0x2a], dl
mov byte [ebp - 0x29], dl
mov eax, dword [ebp - 0x48]
test byte [eax + 0xc], 0x20
je 0x4dc669
xor ecx, ecx
mov cl, byte [ebp - 0x29]
mov eax, dword [ebx + 0x34]
mov dl, byte [eax + ecx]
mov byte [ebp - 0x2a], dl
jmp 0x4dc669
cmp dword [ebp - 0x18], 0
jne 0x4dc669
cmp dword [ebp - 0x44], 0
je 0x4dc669
mov ecx, dword [ebp - 0x44]
test byte [ecx + 4], 1
je 0x4dc669
mov eax, dword [ebp - 0x44]
add eax, 8
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x48]
test byte [edx + 0xc], 0x40
je 0x4dc69c
mov dword [ebp - 0x28], 1
mov ecx, dword [ebp - 0x48]
mov al, byte [ecx + 0x16]
mov byte [ebp - 0x2c], al
mov byte [ebp - 0x2b], al
mov edx, dword [ebp - 0x48]
test byte [edx + 0xc], 0x80
je 0x4dc69c
xor ecx, ecx
mov cl, byte [ebp - 0x2b]
mov eax, dword [ebx + 0x34]
mov dl, byte [eax + ecx]
mov byte [ebp - 0x2c], dl
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x60], ecx
cmp dword [ebp - 0x1c], 0
je 0x4dc7a9
cmp dword [ebp - 0x20], 0
mov edi, esi
je 0x4dc742
jmp 0x4dc6d3
inc edi
jmp 0x4dc6be
inc edi
cmp edi, dword [ebp - 0x38]
jae 0x4dc6d3
xor eax, eax
mov al, byte [edi]
and eax, 0xc0
cmp eax, 0x80
je 0x4dc6bd
cmp edi, dword [ebx + 0x78]
jae 0x4dc7a6
cmp dword [ebx + 0x18], 0
je 0x4dc70f
cmp edi, dword [ebx + 0x78]
jae 0x4dc704
mov edx, dword [ebp - 0x20]
lea ecx, [ebx + 0x1c]
push edx
push ecx
mov eax, dword [ebx + 0x78]
push eax
mov edx, dword [ebx + 0x18]
push edx
push edi
call fcn.004dcff0
add esp, 0x14
test eax, eax
jne 0x4dc708
xor ecx, ecx
jmp 0x4dc737
mov ecx, 1
jmp 0x4dc737
mov eax, dword [ebx + 0x78]
sub eax, dword [ebx + 0x1c]
cmp edi, eax
ja 0x4dc72e
mov dl, byte [edi]
cmp dl, byte [ebx + 0x2c]
jne 0x4dc72e
cmp dword [ebx + 0x1c], 1
je 0x4dc732
mov cl, byte [edi + 1]
cmp cl, byte [ebx + 0x2d]
je 0x4dc732
xor ecx, ecx
jmp 0x4dc737
mov ecx, 1
test ecx, ecx
je 0x4dc6ba
jmp 0x4dc7a6
inc edi
cmp edi, dword [ebx + 0x78]
jae 0x4dc7a6
cmp dword [ebx + 0x18], 0
je 0x4dc77a
cmp edi, dword [ebx + 0x78]
jae 0x4dc76f
mov eax, dword [ebp - 0x20]
lea edx, [ebx + 0x1c]
push eax
push edx
mov eax, dword [ebx + 0x78]
push eax
mov edx, dword [ebx + 0x18]
push edx
push edi
call fcn.004dcff0
add esp, 0x14
test eax, eax
jne 0x4dc773
xor ecx, ecx
jmp 0x4dc7a2
mov ecx, 1
jmp 0x4dc7a2
mov eax, dword [ebx + 0x78]
sub eax, dword [ebx + 0x1c]
cmp edi, eax
ja 0x4dc799
mov dl, byte [edi]
cmp dl, byte [ebx + 0x2c]
jne 0x4dc799
cmp dword [ebx + 0x1c], 1
je 0x4dc79d
mov cl, byte [edi + 1]
cmp cl, byte [ebx + 0x2d]
je 0x4dc79d
xor ecx, ecx
jmp 0x4dc7a2
mov ecx, 1
test ecx, ecx
je 0x4dc741
mov dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x48]
mov edx, dword [eax + 8]
or edx, dword [ebp + 0x1c]
test edx, 0x4000000
jne 0x4dc993
cmp dword [ebp - 0x24], 0
je 0x4dc803
mov al, byte [ebp - 0x29]
cmp al, byte [ebp - 0x2a]
je 0x4dc7ee
jmp 0x4dc7cf
inc esi
cmp esi, dword [ebp - 0x38]
jae 0x4dc993
mov al, byte [esi]
cmp al, byte [ebp - 0x29]
je 0x4dc993
cmp al, byte [ebp - 0x2a]
jne 0x4dc7ce
jmp 0x4dc993
inc esi
cmp esi, dword [ebp - 0x38]
jae 0x4dc993
mov dl, byte [esi]
cmp dl, byte [ebp - 0x29]
jne 0x4dc7ed
jmp 0x4dc993
cmp dword [ebp - 0x18], 0
je 0x4dc944
mov ecx, dword [ebx + 0x74]
add ecx, dword [ebp + 0x18]
cmp esi, ecx
jbe 0x4dc993
cmp dword [ebp - 0x20], 0
je 0x4dc8b8
jmp 0x4dc840
inc esi
jmp 0x4dc82b
inc esi
cmp esi, dword [ebp - 0x38]
jae 0x4dc840
xor eax, eax
mov al, byte [esi]
and eax, 0xc0
cmp eax, 0x80
je 0x4dc82a
cmp esi, dword [ebp - 0x38]
jae 0x4dc925
cmp dword [ebx + 0x18], 0
je 0x4dc87b
mov edi, dword [ebx + 0x74]
cmp esi, edi
jbe 0x4dc870
mov eax, dword [ebp - 0x20]
push eax
lea edx, [ebx + 0x1c]
push edx
push edi
mov ecx, dword [ebx + 0x18]
push ecx
push esi
call fcn.004dd1d0
add esp, 0x14
test eax, eax
jne 0x4dc874
xor eax, eax
jmp 0x4dc8ad
mov eax, 1
jmp 0x4dc8ad
mov edx, dword [ebx + 0x74]
add edx, dword [ebx + 0x1c]
cmp esi, edx
jb 0x4dc8a4
mov ecx, esi
sub ecx, dword [ebx + 0x1c]
mov al, byte [ecx]
cmp al, byte [ebx + 0x2c]
jne 0x4dc8a4
cmp dword [ebx + 0x1c], 1
je 0x4dc8a8
mov edx, esi
sub edx, dword [ebx + 0x1c]
mov cl, byte [edx + 1]
cmp cl, byte [ebx + 0x2d]
je 0x4dc8a8
xor eax, eax
jmp 0x4dc8ad
mov eax, 1
test eax, eax
je 0x4dc827
jmp 0x4dc925
inc esi
cmp esi, dword [ebp - 0x38]
jae 0x4dc925
cmp dword [ebx + 0x18], 0
je 0x4dc8ef
mov edi, dword [ebx + 0x74]
cmp esi, edi
jbe 0x4dc8e4
mov eax, dword [ebp - 0x20]
push eax
lea edx, [ebx + 0x1c]
push edx
push edi
mov ecx, dword [ebx + 0x18]
push ecx
push esi
call fcn.004dd1d0
add esp, 0x14
test eax, eax
jne 0x4dc8e8
xor eax, eax
jmp 0x4dc921
mov eax, 1
jmp 0x4dc921
mov edx, dword [ebx + 0x74]
add edx, dword [ebx + 0x1c]
cmp esi, edx
jb 0x4dc918
mov ecx, esi
sub ecx, dword [ebx + 0x1c]
mov al, byte [ecx]
cmp al, byte [ebx + 0x2c]
jne 0x4dc918
cmp dword [ebx + 0x1c], 1
je 0x4dc91c
mov edx, esi
sub edx, dword [ebx + 0x1c]
mov cl, byte [edx + 1]
cmp cl, byte [ebx + 0x2d]
je 0x4dc91c
xor eax, eax
jmp 0x4dc921
mov eax, 1
test eax, eax
je 0x4dc8b7
cmp byte [esi - 1], 0xd
jne 0x4dc993
cmp dword [ebx + 0x18], 1
je 0x4dc937
cmp dword [ebx + 0x18], 2
jne 0x4dc993
cmp esi, dword [ebp - 0x38]
jae 0x4dc993
cmp byte [esi], 0xa
jne 0x4dc993
inc esi
jmp 0x4dc993
cmp dword [ebp - 0x34], 0
je 0x4dc993
cmp esi, dword [ebp - 0x38]
jae 0x4dc993
xor eax, eax
mov al, byte [esi]
mov ecx, eax
and ecx, 7
mov edx, 1
shl edx, cl
shr eax, 3
mov ecx, dword [ebp - 0x34]
movzx eax, byte [ecx + eax]
and edx, eax
jne 0x4dc993
inc esi
cmp dword [ebp - 0x20], 0
je 0x4dc98e
jmp 0x4dc977
inc esi
cmp esi, dword [ebp - 0x38]
jae 0x4dc98e
xor edx, edx
mov dl, byte [esi]
and edx, 0xc0
cmp edx, 0x80
je 0x4dc976
cmp esi, dword [ebp - 0x38]
jb 0x4dc94f
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x48]
mov ecx, dword [edx + 8]
or ecx, dword [ebp + 0x1c]
test ecx, 0x4000000
jne 0x4dca58
cmp dword [ebx + 0x88], 0
jne 0x4dca58
cmp dword [ebp - 0x44], 0
je 0x4dc9de
mov eax, dword [ebp - 0x44]
test byte [eax + 4], 2
je 0x4dc9de
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x38]
sub edx, esi
cmp edx, dword [ecx + 0x28]
jae 0x4dc9de
xor edi, edi
jmp 0x4dcbe4
cmp dword [ebp - 0x28], 0
je 0x4dca58
mov eax, dword [ebp - 0x38]
sub eax, esi
cmp eax, 0x3e8
jge 0x4dca58
cmp dword [ebp - 0x24], 0
je 0x4dc9fd
mov eax, 1
jmp 0x4dc9ff
xor eax, eax
add eax, esi
cmp eax, dword [ebp - 0x40]
jbe 0x4dca58
mov dl, byte [ebp - 0x2b]
cmp dl, byte [ebp - 0x2c]
je 0x4dca34
cmp eax, dword [ebp - 0x38]
jae 0x4dca49
xor edx, edx
xor ecx, ecx
mov dl, byte [eax]
inc eax
mov cl, byte [ebp - 0x2b]
cmp edx, ecx
je 0x4dca2a
xor ecx, ecx
mov cl, byte [ebp - 0x2c]
cmp edx, ecx
jne 0x4dca2d
dec eax
jmp 0x4dca49
cmp eax, dword [ebp - 0x38]
jb 0x4dca13
jmp 0x4dca49
cmp eax, dword [ebp - 0x38]
jae 0x4dca49
mov dl, byte [eax]
inc eax
cmp dl, byte [ebp - 0x2b]
jne 0x4dca44
dec eax
jmp 0x4dca49
cmp eax, dword [ebp - 0x38]
jb 0x4dca39
cmp eax, dword [ebp - 0x38]
jb 0x4dca55
xor edi, edi
jmp 0x4dcbe4
mov dword [ebp - 0x40], eax
mov dword [ebx + 0x7c], esi
mov dword [ebx + 0x84], esi
xor eax, eax
mov dword [ebx], eax
xor edx, edx
mov dword [ebx + 0x98], edx
xor ecx, ecx
mov dword [ebx + 0x8c], ecx
push 0
push 0
push ebx
push 2
push esi
mov eax, dword [ebx + 0x70]
push eax
push esi
call fcn.004d1724
add esp, 0x1c
mov edi, eax
cmp dword [ebx + 0x60], 0
je 0x4dcaa1
cmp dword [ebp - 0x3c], 0
jne 0x4dcaa1
mov eax, dword [ebx + 0x84]
mov dword [ebp - 0x3c], eax
mov edx, edi
cmp edx, 0xfffffc1f
jg 0x4dcac2
je 0x4dcad7
sub edx, 0xfffffc1a
je 0x4dcb25
sub edx, 3
je 0x4dcaf0
dec edx
je 0x4dcae3
jmp 0x4dcbe4
sub edx, 0xfffffc20
je 0x4dcaf0
sub edx, 0x3e0
je 0x4dcaf0
jmp 0x4dcbe4
mov dword [ebp - 0x64], esi
mov dword [ebx + 0x6c], 1
jmp 0x4dcb2c
cmp esi, dword [ebx + 0x7c]
je 0x4dcaf0
mov ecx, dword [ebx + 0x7c]
mov dword [ebp - 0x64], ecx
jmp 0x4dcb2c
xor eax, eax
lea edx, [esi + 1]
mov dword [ebx + 0x6c], eax
mov dword [ebp - 0x64], edx
cmp dword [ebp - 0x20], 0
je 0x4dcb2c
jmp 0x4dcb06
inc dword [ebp - 0x64]
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [ebp - 0x38]
jae 0x4dcb2c
mov eax, dword [ebp - 0x64]
xor edx, edx
mov dl, byte [eax]
and edx, 0xc0
cmp edx, 0x80
je 0x4dcb03
jmp 0x4dcb2c
xor edi, edi
jmp 0x4dcbe4
xor edi, edi
cmp dword [ebp - 0x1c], 0
je 0x4dcb93
cmp dword [ebx + 0x18], 0
je 0x4dcb67
cmp esi, dword [ebx + 0x78]
jae 0x4dcb5c
mov eax, dword [ebp - 0x20]
lea edx, [ebx + 0x1c]
push eax
push edx
mov ecx, dword [ebx + 0x78]
push ecx
mov eax, dword [ebx + 0x18]
push eax
push esi
call fcn.004dcff0
add esp, 0x14
test eax, eax
jne 0x4dcb60
xor edx, edx
jmp 0x4dcb8f
mov edx, 1
jmp 0x4dcb8f
mov ecx, dword [ebx + 0x78]
sub ecx, dword [ebx + 0x1c]
cmp esi, ecx
ja 0x4dcb86
mov al, byte [esi]
cmp al, byte [ebx + 0x2c]
jne 0x4dcb86
cmp dword [ebx + 0x1c], 1
je 0x4dcb8a
mov dl, byte [esi + 1]
cmp dl, byte [ebx + 0x2d]
je 0x4dcb8a
xor edx, edx
jmp 0x4dcb8f
mov edx, 1
test edx, edx
jne 0x4dcbe4
cmp dword [ebp - 0x14], 0
mov esi, dword [ebp - 0x64]
jne 0x4dcbe4
cmp esi, dword [ebp - 0x38]
ja 0x4dcbe4
mov eax, dword [ebp + 0x10]
add eax, dword [ebp + 0x18]
cmp esi, eax
jbe 0x4dcbd7
cmp byte [esi - 1], 0xd
jne 0x4dcbd7
cmp esi, dword [ebp - 0x38]
jae 0x4dcbd7
cmp byte [esi], 0xa
jne 0x4dcbd7
mov edx, dword [ebp - 0x48]
test byte [edx + 0xd], 8
jne 0x4dcbd7
cmp dword [ebx + 0x18], 1
je 0x4dcbd6
cmp dword [ebx + 0x18], 2
je 0x4dcbd6
cmp dword [ebx + 0x1c], 2
jne 0x4dcbd7
inc esi
xor ecx, ecx
mov dword [ebx + 0xac], ecx
jmp 0x4dc69c
cmp edi, 1
je 0x4dcbf5
cmp edi, 0xfffffc19
jne 0x4dcd17
cmp dword [ebp - 0x10], 0
je 0x4dcc3e
cmp dword [ebp - 8], 4
jl 0x4dcc21
mov eax, dword [ebp - 8]
add eax, 0xfffffffe
shl eax, 2
push eax
mov edx, dword [ebx + 0xc]
add edx, 8
push edx
mov ecx, dword [ebp + 0x20]
add ecx, 8
push ecx
call fcn.00509ecc
add esp, 0xc
mov eax, dword [ebx + 0x8c]
cmp eax, dword [ebp - 8]
jle 0x4dcc33
mov dword [ebx + 0x3c], 1
mov edx, dword [ebx + 0xc]
push edx
call dword [0x65e8a0]
pop ecx
cmp dword [ebx + 0x3c], 0
je 0x4dcc53
mov ecx, dword [ebx + 0x8c]
cmp ecx, dword [ebp - 8]
jl 0x4dcc53
xor edi, edi
jmp 0x4dcc60
mov edi, dword [ebx + 0x8c]
sar edi, 1
jns 0x4dcc60
adc edi, 0
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebx + 0x8c]
sar ecx, 1
movzx edx, word [eax + 0x10]
jns 0x4dcc74
adc ecx, 0
cmp edx, ecx
jl 0x4dccd3
cmp dword [ebp + 0x20], 0
je 0x4dccd3
mov eax, dword [ebp - 0x48]
movzx edx, word [eax + 0x10]
add edx, edx
add edx, 2
mov dword [ebp - 0x70], edx
mov ecx, dword [ebp - 0x70]
cmp ecx, dword [ebp + 0x24]
jle 0x4dcc9b
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x70], eax
mov edx, dword [ebx + 0x8c]
shl edx, 2
add edx, dword [ebp + 0x20]
mov dword [ebp - 0x68], edx
mov ecx, dword [ebp - 0x70]
shl ecx, 2
add ecx, dword [ebp + 0x20]
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x6c]
jae 0x4dccd3
mov edx, dword [ebp - 0x68]
mov dword [edx], 0xffffffff
add dword [ebp - 0x68], 4
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [ebp - 0x6c]
jb 0x4dccbe
cmp dword [ebp + 0x24], 2
jge 0x4dccdd
xor edi, edi
jmp 0x4dccf7
mov eax, dword [ebx + 0x7c]
mov edx, dword [ebp + 0x20]
sub eax, dword [ebx + 0x74]
mov dword [edx], eax
mov ecx, dword [ebx + 0x80]
mov eax, dword [ebp + 0x20]
sub ecx, dword [ebx + 0x74]
mov dword [eax + 4], ecx
cmp dword [ebp + 0xc], 0
je 0x4dcd13
mov edx, dword [ebp + 0xc]
test byte [edx], 0x20
je 0x4dcd13
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x18]
mov edx, dword [ebx + 0xac]
mov dword [eax], edx
mov eax, edi
jmp 0x4dcd88
cmp dword [ebp - 0x10], 0
je 0x4dcd28
mov edx, dword [ebx + 0xc]
push edx
call dword [0x65e8a0]
pop ecx
test edi, edi
je 0x4dcd35
cmp edi, 0xfffffff4
je 0x4dcd35
mov eax, edi
jmp 0x4dcd88
cmp dword [ebp - 0x3c], 0
je 0x4dcd67
xor edx, edx
mov dword [ebx + 0xac], edx
cmp dword [ebp + 0x24], 1
jle 0x4dcd60
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp + 0x20]
sub ecx, dword [ebp + 0x10]
mov dword [eax], ecx
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp + 0x20]
sub edx, dword [ebp + 0x10]
mov dword [ecx + 4], edx
mov edi, 0xfffffff4
jmp 0x4dcd6a
or edi, 0xffffffff
cmp dword [ebp + 0xc], 0
je 0x4dcd86
mov eax, dword [ebp + 0xc]
test byte [eax], 0x20
je 0x4dcd86
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx + 0x18]
mov eax, dword [ebx + 0xb0]
mov dword [ecx], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret