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

Disassembly:
sub esp, 0xe0
mov eax, dword [esp + 0xf8]
mov edx, dword [esp + 0x100]
push ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov ebx, ecx
mov ecx, dword [esp + 0x100]
mov dword [esp + 0x1c], eax
mov al, byte [ebx + 0x321c]
push ebp
mov ebp, dword [esp + 0x110]
push esi
push edi
mov edi, dword [esp + 0xf8]
test al, al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov byte [esp + 0x54], 0
mov dword [esp + 0x60], 0
je 0x4e3426
mov al, byte [edi + 0x2e4c]
test al, al
je 0x4e3426
mov al, byte [ebp + 0x30]
test al, al
je 0x4e3426
mov ecx, dword [edi + 0x2e54]
mov byte [esp + 0x54], 1
mov dword [esp + 0x60], ecx
jmp 0x4e34c8
mov eax, dword [ebx + 0x336c]
mov edx, dword [esp + 0xfc]
push edx
lea ecx, [eax + 8]
call fcn.004f7280
xor esi, esi
lea ecx, [edi + 0x2a14]
test eax, eax
je 0x4e3468
test al, 1
je 0x4e345d
cmp dword [ecx - 0x10], 0x16
jne 0x4e345d
mov edx, dword [ecx]
mov byte [esp + 0x54], 1
mov dword [esp + 0x60], edx
sar eax, 1
inc esi
add ecx, 0x18
cmp esi, 0x20
jl 0x4e3444
mov al, byte [esp + 0x54]
test al, al
jne 0x4e34c8
mov eax, dword [edi + 0x2e00]
test eax, eax
je 0x4e34c8
mov ebx, dword [ebx + 0x336c]
mov eax, dword [esp + 0xfc]
push eax
lea ecx, [ebx + 8]
call fcn.004f7280
and eax, dword [edi + 0x2e00]
je 0x4e34c8
xor esi, esi
lea ecx, [edi + 0x2a14]
mov edx, 5
test eax, eax
je 0x4e34c8
test al, 1
je 0x4e34bd
cmp dword [ecx - 0x10], edx
je 0x4e34bd
mov ebx, dword [ecx]
mov byte [esp + 0x54], 1
mov dword [esp + 0x60], ebx
sar eax, 1
inc esi
add ecx, 0x18
cmp esi, 0x20
jl 0x4e34a5
mov eax, dword [edi + 0x2e3c]
test eax, eax
je 0x4e34e9
mov al, byte [esp + 0x54]
test al, al
jne 0x4e34e9
mov al, byte [edi + 0x2da4]
mov byte [esp + 0x1b], 1
test al, al
jne 0x4e34ee
mov byte [esp + 0x1b], 0
mov ebx, dword [esp + 0x11c]
mov ecx, dword [esp + 0x14]
xor esi, esi
mov edx, dword [esp + 0xfc]
mov ecx, dword [ecx + 0x336c]
cmp ebx, esi
sete al
mov byte [esp + 0x5a], al
mov byte [esp + 0x13], al
mov eax, dword [ecx + 0x4b0]
push edx
imul eax, dword [edi + 0x2d74]
mov dword [esp + 0x90], eax
call fcn.004f2fc0
cmp ebx, esi
mov dword [esp + 0x68], eax
jg 0x4e353b
xor eax, eax
jmp 0x4e354f
cmp ebx, dword [ebp + 0x58]
jge 0x4e354c
mov eax, dword [ebp + 4]
cmp eax, esi
je 0x4e354c
mov eax, dword [eax + ebx*4]
jmp 0x4e354f
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x44]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x40], esi
mov edx, dword [ecx + eax*4]
mov ecx, dword [ebp + 0x58]
cmp ebx, ecx
mov dword [esp + 0x50], edx
jge 0x4e35b5
cmp ebx, esi
jg 0x4e3576
mov dword [esp + 0x5c], esi
jmp 0x4e358d
mov eax, dword [ebp + 4]
cmp eax, esi
je 0x4e3586
mov eax, dword [eax + ebx*4]
mov dword [esp + 0x5c], eax
jmp 0x4e358d
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x5c], edx
lea eax, [ebx + 1]
cmp eax, esi
jg 0x4e359a
mov dword [esp + 0x40], esi
jmp 0x4e35b5
cmp eax, ecx
jge 0x4e35ae
mov edx, dword [ebp + 4]
cmp edx, esi
je 0x4e35ae
mov eax, dword [edx + eax*4]
mov dword [esp + 0x40], eax
jmp 0x4e35b5
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x14]
mov byte [esp + 0x84], 0
test byte [eax + 0x335c], 1
je 0x4e35f8
lea eax, [ebx + 1]
cmp eax, ecx
jge 0x4e35f8
cmp eax, esi
jg 0x4e35d9
xor eax, eax
jmp 0x4e35ec
cmp eax, ecx
jge 0x4e35e9
mov edx, dword [ebp + 4]
cmp edx, esi
je 0x4e35e9
mov eax, dword [edx + eax*4]
jmp 0x4e35ec
mov eax, dword [ebp + 0x18]
cmp eax, esi
setne dl
mov byte [esp + 0x84], dl
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0xf4]
mov edx, dword [eax + 0x3368]
test edx, edx
je 0x4e3729
cmp ebx, ecx
jge 0x4e3729
test ebx, ebx
jg 0x4e3621
xor ebx, ebx
jmp 0x4e3630
mov eax, dword [ebp + 4]
test eax, eax
je 0x4e362d
mov ebx, dword [eax + ebx*4]
jmp 0x4e3630
mov ebx, dword [ebp + 0x18]
test ebx, ebx
setne al
test al, al
je 0x4e3729
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x2d70]
mov ebx, dword [esp + 0x104]
imul eax, edx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x50]
sub ecx, ecx
mov edx, dword [esi]
add ecx, ebx
add eax, ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0xc10]
push eax
mov eax, dword [esp + 0x20]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [edx + 0x38]
mov ecx, dword [esp + 0x14]
mov al, 2
test byte [ecx + 0x335c], al
je 0x4e370d
mov edx, ecx
test byte [edx + 0x3360], al
je 0x4e36c7
mov eax, dword [esp + 0x74]
mov ecx, dword [edi + 0x2d70]
sub eax, ecx
mov dword [esp + 0x6c], eax
jmp 0x4e36d7
mov eax, dword [edi + 0x2d70]
mov ecx, dword [esp + 0x6c]
add eax, ecx
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x2da0]
mov edx, dword [esp + 0x6c]
push eax
push 0
mov eax, dword [esp + 0x28]
sub esp, 0x10
mov ecx, esp
push esi
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x90]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x44]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x30]
call fcn.004e2ff0
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x3368]
imul edx, dword [edi + 0x2d70]
add ebx, edx
mov dword [esp + 0x104], ebx
jmp 0x4e3730
mov ebx, dword [esp + 0x104]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x30], eax
mov cl, byte [edx + 0x31ca]
test cl, cl
je 0x4e3a59
lea ecx, [eax*4 + 4]
mov dword [esp + 0x48], ecx
mov ecx, 1
sub ecx, dword [esp + 0x68]
mov dword [esp + 0x7c], ecx
cmp eax, dword [esp + 0x40]
jge 0x4e3a59
mov edx, dword [ebp + 0x3c]
lea ecx, [edx + eax]
mov dword [esp + 0x34], ecx
mov dl, byte [ecx]
cmp dl, byte [ecx + 1]
jne 0x4e37cd
mov ecx, dword [esp + 0x40]
dec ecx
cmp eax, ecx
je 0x4e37cd
mov edx, dword [ebp + 0x38]
lea ecx, [edx + eax]
movsx edx, byte [edx + eax]
test edx, edx
jl 0x4e3799
cmp edx, 0x20
jl 0x4e37cd
movsx ecx, byte [ecx + 1]
test ecx, ecx
jl 0x4e37a6
cmp ecx, 0x20
jl 0x4e37cd
mov edx, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x2c]
cmp edx, ecx
je 0x4e37c1
mov ecx, dword [esp + 0x68]
lea ecx, [eax + ecx + 1]
cmp ecx, edx
je 0x4e37cd
cmp ecx, dword [ebp + 0x2c]
je 0x4e37cd
mov edx, dword [ebp + 0x34]
dec edx
cmp eax, edx
jne 0x4e3a37
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp + 0x44]
mov edx, dword [esp + 0x50]
shl eax, 2
mov eax, dword [ecx + eax]
sub eax, edx
mov edx, dword [esp + 0x48]
add eax, ebx
mov ecx, dword [ecx + edx]
mov edx, dword [esp + 0x50]
sub ecx, edx
mov dword [esp + 0x1c], eax
add ecx, ebx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x110]
cmp eax, ecx
jg 0x4e3a1f
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x108]
cmp eax, ecx
jl 0x4e3a1f
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
xor ecx, ecx
mov cl, byte [edx]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x80], ecx
mov ecx, dword [ebp + 0x28]
add eax, edx
cmp eax, ecx
jl 0x4e384b
mov edx, dword [ebp + 0x2c]
cmp eax, edx
jge 0x4e384b
cmp ecx, edx
mov byte [esp + 0x64], 1
jne 0x4e3850
mov byte [esp + 0x64], 0
mov ecx, dword [ebp + 0x4c]
cmp ecx, 0xffffffff
je 0x4e3868
cmp eax, ecx
jl 0x4e3868
mov ecx, dword [ebp + 0x50]
mov byte [esp + 0x4c], 1
cmp eax, ecx
jl 0x4e386d
mov byte [esp + 0x4c], 0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x4c]
push ebp
push eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x64]
push eax
push ecx
mov ecx, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x54]
push edi
push eax
call fcn.004e2ea0
mov ecx, dword [ebp + 0x38]
mov edx, dword [esp + 0x30]
mov al, byte [edx + ecx]
cmp al, 9
jne 0x4e3900
mov al, byte [esp + 0x1b]
test al, al
je 0x4e38cf
mov al, byte [esp + 0x13]
test al, al
je 0x4e38c5
cmp dword [edi + 0x2e3c], 1
jne 0x4e38cf
mov eax, dword [edi + 0x2dac]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
mov edx, dword [esi]
push eax
mov eax, dword [esp + 0x20]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [edx + 0x38]
jmp 0x4e3a1f
movsx eax, al
test eax, eax
jl 0x4e3913
cmp eax, 0x20
jge 0x4e3913
mov byte [esp + 0x13], 0
jmp 0x4e38cf
mov eax, dword [esp + 0x38]
mov edx, dword [esi]
push eax
mov eax, dword [esp + 0x20]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [edx + 0x38]
mov eax, dword [edi + 0x2e3c]
test eax, eax
jne 0x4e3963
mov al, byte [esp + 0x13]
test al, al
je 0x4e3a1f
mov al, byte [edi + 0x2e40]
test al, al
je 0x4e3a1f
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
xor ecx, ecx
sub eax, edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x44], eax
js 0x4e3a1f
lea eax, [edx*4]
mov dword [esp + 0x3c], eax
jmp 0x4e398e
mov edx, dword [esp + 0x2c]
mov eax, dword [ebp + 0x38]
add edx, ecx
cmp byte [edx + eax], 0x20
jne 0x4e39fe
mov al, byte [esp + 0x1b]
test al, al
je 0x4e3a03
mov al, byte [esp + 0x13]
test al, al
je 0x4e39b2
cmp dword [edi + 0x2e3c], 1
jne 0x4e3a03
mov ebp, dword [ebp + 0x44]
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + ebp]
mov edx, dword [esp + 0x2c]
add ecx, edx
add eax, ebx
mov edx, dword [esi]
mov ecx, dword [ebp + ecx*4 + 4]
mov ebp, dword [edi + 0x2dac]
push ebp
add ecx, ebx
sub esp, 0x10
mov ebp, esp
mov dword [ebp], eax
mov eax, dword [esp + 0x34]
mov dword [ebp + 4], eax
mov dword [ebp + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [ebp + 0xc], ecx
mov ecx, esi
call dword [edx + 0x38]
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x118]
jmp 0x4e3a03
mov byte [esp + 0x13], 0
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
inc ecx
add edx, 4
cmp ecx, eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], edx
jle 0x4e398a
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x68]
add eax, edx
add eax, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x48]
inc eax
add edx, 4
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x14]
mov cl, byte [edx + 0x31ca]
test cl, cl
jne 0x4e3762
mov al, byte [edx + 0x31ca]
test al, al
je 0x4e3acf
mov ecx, dword [edi + 0x2da0]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x128]
push ecx
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x110]
push eax
push ebx
push ecx
mov ecx, dword [esp + 0x128]
push edx
push ebp
mov edx, dword [esp + 0x134]
sub esp, 0x10
mov eax, esp
push edi
push esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x150]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x154]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0xc], edx
call fcn.004e3160
mov ecx, dword [esp + 0x11c]
mov al, byte [esp + 0x5a]
test ecx, ecx
mov byte [esp + 0x13], al
jg 0x4e3aec
mov dword [esp + 0x2c], 0
jmp 0x4e3b08
cmp ecx, dword [ebp + 0x58]
jge 0x4e3b01
mov eax, dword [ebp + 4]
test eax, eax
je 0x4e3b01
mov ecx, dword [eax + ecx*4]
mov dword [esp + 0x2c], ecx
jmp 0x4e3b08
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x40]
cmp edx, eax
mov dword [esp + 0x30], edx
jge 0x4e450a
mov eax, dword [esp + 0x68]
lea ecx, [edx + eax]
mov eax, dword [ebp + 0x3c]
add eax, edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], eax
mov cl, byte [eax]
cmp cl, byte [eax + 1]
jne 0x4e3b84
mov eax, dword [esp + 0x40]
dec eax
cmp edx, eax
je 0x4e3b84
mov ecx, dword [ebp + 0x38]
lea eax, [ecx + edx]
movsx ecx, byte [ecx + edx]
test ecx, ecx
jl 0x4e3b53
cmp ecx, 0x20
jl 0x4e3b84
movsx eax, byte [eax + 1]
test eax, eax
jl 0x4e3b60
cmp eax, 0x20
jl 0x4e3b84
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x2c]
cmp eax, ecx
je 0x4e3b78
mov ecx, dword [esp + 0x3c]
inc ecx
cmp ecx, eax
je 0x4e3b84
cmp ecx, dword [ebp + 0x2c]
je 0x4e3b84
mov eax, dword [ebp + 0x34]
dec eax
cmp edx, eax
jne 0x4e44f9
mov ecx, dword [esp + 0x2c]
lea eax, [ecx*4]
mov ecx, dword [ebp + 0x44]
mov eax, dword [ecx + eax]
mov ecx, dword [ecx + edx*4 + 4]
sub eax, dword [esp + 0x50]
add eax, ebx
inc edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
sub ecx, edx
add ecx, ebx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x110]
cmp eax, ecx
jg 0x4e44ec
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x108]
cmp edx, eax
jl 0x4e44ec
mov ecx, dword [esp + 0x34]
xor eax, eax
mov al, byte [ecx]
lea edx, [eax + eax*4]
shl edx, 4
lea ecx, [edx + edi]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x80], ecx
mov ecx, dword [ecx + 0x208]
mov dword [esp + 0x34], ecx
lea ecx, [eax + eax*4 + 0x23]
shl ecx, 4
add ecx, edi
mov dword [esp + 0x44], ecx
mov ecx, dword [ebp + 0x4c]
cmp ecx, 0xffffffff
je 0x4e3c31
cmp edx, ecx
jl 0x4e3c31
mov ecx, dword [esp + 0x14]
cmp edx, dword [ecx + 0x3344]
jge 0x4e3c31
mov cl, byte [edi + 0x2dd8]
test cl, cl
je 0x4e3c31
mov ecx, dword [edi + 0x2de0]
mov dword [esp + 0x34], ecx
cmp edx, dword [ebp + 0x28]
jl 0x4e3ecb
mov ecx, dword [ebp + 0x2c]
cmp edx, ecx
jge 0x4e3ecb
cmp dword [ebp + 0x28], ecx
je 0x4e3ec7
mov cl, byte [edi + 0x2d78]
mov byte [esp + 0x7c], 1
test cl, cl
je 0x4e3c67
mov edx, dword [edi + 0x2d80]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x4c]
cmp ecx, 0xffffffff
je 0x4e3c83
cmp edx, ecx
jl 0x4e3c83
mov ecx, dword [ebp + 0x50]
mov byte [esp + 0x64], 1
cmp edx, ecx
jl 0x4e3c88
mov byte [esp + 0x64], 0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x64]
push ebp
push ecx
mov ecx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x88]
push edx
mov edx, dword [esp + 0x64]
push eax
push ecx
mov ecx, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x64]
push edi
push eax
call fcn.004e2ea0
mov eax, dword [ebp + 0x38]
mov ecx, dword [esp + 0x30]
mov al, byte [eax + ecx]
cmp al, 9
jne 0x4e3ed5
mov edx, dword [esp + 0x14]
mov al, byte [edx + 0x31ca]
test al, al
jne 0x4e3d24
mov al, byte [esp + 0x1b]
test al, al
je 0x4e3cf8
mov al, byte [esp + 0x13]
test al, al
je 0x4e3cee
cmp dword [edi + 0x2e3c], 1
jne 0x4e3cf8
mov eax, dword [edi + 0x2dac]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x48]
mov edx, dword [esi]
push eax
mov eax, dword [esp + 0x20]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [edx + 0x38]
mov eax, dword [edi + 0x2e3c]
test eax, eax
jne 0x4e3d44
mov al, byte [esp + 0x13]
test al, al
je 0x4e3e31
mov al, byte [edi + 0x2e40]
test al, al
je 0x4e3d64
mov al, byte [edi + 0x2d98]
test al, al
je 0x4e3d58
mov ecx, dword [edi + 0x2da0]
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x34]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x18]
mov al, byte [esp + 0x13]
test al, al
je 0x4e3e31
mov al, byte [edi + 0x2e40]
test al, al
je 0x4e3e31
mov eax, dword [ebp + 0x44]
mov ecx, dword [esp + 0x30]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x8c]
cdq
idiv ecx
mov edx, dword [esp + 0x30]
imul eax, ecx
mov ecx, dword [ebp + 0x44]
inc edx
mov dword [esp + 0x38], eax
cmp eax, dword [ecx + edx*4]
jge 0x4e3e31
lea edx, [eax + ebx]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x30]
cmp eax, dword [ecx + edx*4]
jl 0x4e3e0d
test eax, eax
jle 0x4e3e0d
mov eax, dword [esp + 0x38]
mov ecx, dword [ebp + 0x20]
cmp ecx, eax
mov eax, dword [esp + 0x1c]
sete cl
push ecx
mov ecx, dword [esp + 0x24]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x38]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edx + 8], eax
mov eax, dword [edi + 0x2d64]
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x114]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x34]
push esi
call fcn.004e2f70
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x2c]
add edx, ecx
add eax, ecx
mov ecx, dword [ebp + 0x44]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x38], eax
inc edx
cmp eax, dword [ecx + edx*4]
jl 0x4e3db1
mov eax, dword [edi + 0x2e3c]
test eax, eax
je 0x4e43dd
mov cl, byte [esp + 0x13]
test cl, cl
je 0x4e3e50
cmp eax, 1
jne 0x4e43dd
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
inc eax
add ecx, 4
mov dword [esp + 0xc0], eax
mov eax, dword [edi + 0x2d6c]
mov dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0x28]
dec edx
sub ecx, eax
mov eax, dword [edi + 0x2d64]
mov dword [esp + 0xc8], edx
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add eax, edx
mov edx, dword [esp + 0xc0]
push eax
sub esp, 0x10
mov eax, esp
push esi
mov dword [eax], edx
mov edx, dword [esp + 0xdc]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xe0]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
call fcn.004e2580
add esp, 0x18
jmp 0x4e43dd
mov edx, dword [esp + 0x3c]
mov byte [esp + 0x7c], 0
jmp 0x4e3c6b
movsx ecx, al
test ecx, ecx
jl 0x4e40dd
cmp ecx, 0x20
jge 0x4e40dd
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x13], 0
cmp dword [ecx + 0x31bc], 0x20
jge 0x4e4079
push eax
call fcn.004df820
mov edx, dword [esp + 0x18]
mov dword [esp + 0x48], eax
add esp, 4
mov al, byte [edx + 0x31ca]
test al, al
jne 0x4e3f46
mov ecx, dword [esp + 0x48]
mov eax, dword [esi]
push ecx
mov ecx, dword [esp + 0x20]
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edx + 0xc], ecx
mov ecx, esi
call dword [eax + 0x38]
mov edx, dword [esi]
lea ebx, [edi + 0xd70]
push ebx
mov ecx, esi
call dword [edx + 0x68]
mov ebp, eax
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x60]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x94], ecx
mov ecx, dword [edi + 0x2d68]
mov edx, dword [esp + 0x28]
sub eax, ebp
mov ebp, ecx
mov dword [esp + 0x90], ebx
sub ebp, eax
mov eax, dword [esp + 0x20]
add ebp, eax
mov dword [esp + 0x9c], edx
lea eax, [ecx + eax + 1]
inc ebx
mov dword [esp + 0x9c], eax
dec eax
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x34]
push eax
lea ecx, [ebp + 1]
mov dword [esp + 0xd8], ebp
sub esp, 0x10
mov dword [esp + 0xe8], ecx
mov eax, dword [esp + 0xe8]
mov ecx, esp
mov edx, dword [esi]
mov dword [ecx], ebx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xf0]
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [edx + 0x38]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x48]
mov dword [esp + 0xb0], ebx
inc ebx
push ecx
mov dword [esp + 0xb4], ebx
mov ebx, dword [esp + 0x48]
dec eax
push edx
mov dword [esp + 0xbc], ebp
mov ebp, dword [esi]
push ebx
mov dword [esp + 0xc4], eax
call fcn.004e2560
add esp, 4
mov edx, dword [esp + 0xb8]
push eax
mov eax, dword [esp + 0x2c]
push ebx
mov ebx, dword [edi + 0x2d68]
add eax, ebx
push eax
lea eax, [edi + 0xd70]
push eax
mov eax, dword [esp + 0xcc]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0xe0]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xc4]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [ebp + 0x4c]
mov ebx, dword [esp + 0x104]
mov ebp, dword [esp + 0x118]
jmp 0x4e43dd
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
mov byte [esp + 0x5b], 0
mov cl, byte [eax + 0x31bc]
mov eax, dword [esp + 0x34]
mov byte [esp + 0x5a], cl
mov ecx, dword [esp + 0x48]
push eax
push ecx
mov ecx, dword [edi + 0x2d68]
lea eax, [esp + 0x62]
push 1
push eax
mov eax, dword [esp + 0x30]
add ecx, eax
lea eax, [edi + 0xd70]
push ecx
mov ecx, dword [esp + 0x30]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x48]
jmp 0x4e43dd
mov edx, dword [esp + 0x80]
mov al, byte [edx + 0x22c]
test al, al
je 0x4e41a5
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
mov cl, byte [eax + 0x31ca]
test cl, cl
je 0x4e4152
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
sub ecx, eax
inc ecx
push ecx
mov ecx, dword [ebp + 0x38]
add ecx, eax
mov eax, dword [edi + 0x2d68]
push ecx
mov ecx, dword [esp + 0x2c]
add eax, ecx
mov ecx, dword [esp + 0x50]
push eax
push ecx
mov ecx, dword [esp + 0x30]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x50]
jmp 0x4e41a5
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x38]
sub ecx, eax
inc ecx
push ecx
mov ecx, dword [ebp + 0x38]
add ecx, eax
mov eax, dword [edi + 0x2d68]
push ecx
mov ecx, dword [esp + 0x30]
add eax, ecx
mov ecx, dword [esp + 0x54]
push eax
push ecx
mov ecx, dword [esp + 0x34]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x48]
mov eax, dword [edi + 0x2e3c]
test eax, eax
jne 0x4e41c9
mov al, byte [esp + 0x13]
test al, al
je 0x4e43dd
mov al, byte [edi + 0x2e40]
test al, al
je 0x4e43dd
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
xor ecx, ecx
sub eax, edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x44], eax
js 0x4e43dd
lea eax, [edx*4]
mov dword [esp + 0x38], eax
jmp 0x4e41f4
mov edx, dword [esp + 0x2c]
add ecx, edx
mov edx, dword [ebp + 0x38]
cmp byte [ecx + edx], 0x20
jne 0x4e43b8
mov eax, dword [edi + 0x2e3c]
test eax, eax
je 0x4e4337
mov cl, byte [edi + 0x2d98]
test cl, cl
je 0x4e4225
mov ecx, dword [edi + 0x2da0]
mov dword [esp + 0x34], ecx
mov cl, byte [esp + 0x13]
test cl, cl
je 0x4e4236
cmp eax, 1
jne 0x4e4337
mov edx, dword [esp + 0x118]
mov eax, dword [esp + 0x4c]
mov ecx, dword [edx + 0x44]
mov edx, dword [esp + 0x2c]
add eax, edx
mov edx, dword [esp + 0x38]
mov ebp, dword [ecx + edx]
lea eax, [ecx + eax*4 + 4]
mov dword [esp + 0x88], eax
mov eax, dword [eax]
add eax, ebp
cdq
sub eax, edx
mov ebp, eax
mov eax, dword [esp + 0x14]
sar ebp, 1
mov dl, byte [eax + 0x31ca]
test dl, dl
jne 0x4e42d9
mov al, byte [esp + 0x1b]
test al, al
je 0x4e42d9
mov al, byte [esp + 0x13]
test al, al
je 0x4e428e
cmp dword [edi + 0x2e3c], 1
jne 0x4e42d9
mov edx, dword [edi + 0x2dac]
mov eax, ebx
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x38]
add eax, dword [ecx + edx]
mov edx, dword [esp + 0x88]
mov ecx, ebx
mov ebx, dword [edx]
mov edx, dword [esi]
add ecx, ebx
mov ebx, dword [esp + 0x48]
push ebx
sub esp, 0x10
mov ebx, esp
mov dword [ebx], eax
mov eax, dword [esp + 0x34]
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [ebx + 0xc], ecx
mov ecx, esi
call dword [edx + 0x38]
mov ebx, dword [esp + 0x104]
mov eax, dword [esp + 0x50]
sub ebp, eax
mov eax, dword [edi + 0x2d64]
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add eax, edx
add ebp, ebx
lea ecx, [eax + 1]
lea edx, [ebp + 1]
mov dword [esp + 0xec], ecx
mov ecx, dword [esp + 0x34]
push ecx
mov dword [esp + 0xec], edx
sub esp, 0x10
mov edx, dword [esi]
mov ecx, esp
mov dword [ecx], ebp
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xfc]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x100]
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [edx + 0x38]
mov ebp, dword [esp + 0x118]
mov al, byte [esp + 0x13]
test al, al
je 0x4e43bd
mov al, byte [edi + 0x2e40]
test al, al
je 0x4e43bd
mov ecx, dword [ebp + 0x44]
mov edx, dword [esp + 0x38]
mov eax, dword [edx + ecx]
test eax, eax
mov dword [esp + 0x88], eax
jle 0x4e43bd
cdq
idiv dword [esp + 0x8c]
test edx, edx
jne 0x4e43bd
mov eax, dword [esp + 0x88]
mov ecx, dword [ebp + 0x20]
cmp ecx, eax
sete cl
push ecx
mov ecx, dword [esp + 0x20]
sub esp, 0x10
add eax, ebx
mov edx, esp
push eax
mov eax, dword [esp + 0x118]
mov dword [edx], ecx
mov ecx, dword [esp + 0x38]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], ecx
mov edx, dword [edi + 0x2d64]
mov ecx, dword [esp + 0x2c]
push edx
push eax
push esi
call fcn.004e2f70
jmp 0x4e43bd
mov byte [esp + 0x13], 0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
inc ecx
add edx, 4
cmp ecx, eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x38], edx
jle 0x4e41f0
mov eax, dword [ebp + 0x4c]
cmp eax, 0xffffffff
je 0x4e446c
mov cl, byte [edi + 0x2df0]
test cl, cl
je 0x4e446c
mov ecx, dword [esp + 0x3c]
cmp ecx, eax
jl 0x4e446c
cmp ecx, dword [ebp + 0x50]
jge 0x4e446c
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x78], edx
mov edx, dword [edi + 0x2d68]
mov dword [esp + 0x70], ecx
mov eax, dword [esp + 0x1c]
lea ecx, [edx + ecx + 1]
mov edx, dword [esi]
mov dword [esp + 0x70], ecx
inc ecx
mov dword [esp + 0x78], ecx
mov cl, byte [edi + 0x2dd8]
test cl, cl
je 0x4e4443
mov ecx, dword [edi + 0x2de0]
jmp 0x4e4447
mov ecx, dword [esp + 0x34]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x84]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x88]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x8c]
jmp 0x4e44e4
mov ecx, dword [esp + 0x80]
mov al, byte [ecx + 0x225]
test al, al
je 0x4e44ec
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xa8], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0xac], edx
mov edx, dword [edi + 0x2d68]
mov dword [esp + 0xa4], ecx
mov eax, dword [esp + 0x1c]
lea ecx, [edx + ecx + 1]
mov edx, dword [esi]
mov dword [esp + 0xa4], ecx
inc ecx
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x34]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0xb8]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xbc]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xc0]
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [edx + 0x38]
mov ecx, dword [esp + 0x30]
mov edx, ecx
lea eax, [ecx + 1]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
inc edx
cmp edx, eax
mov dword [esp + 0x30], edx
jl 0x4e3b1c
mov edx, dword [esp + 0x14]
mov eax, 1
mov ecx, dword [edx + 0x336c]
mov ecx, dword [ecx + 0x498]
shl eax, cl
cmp eax, 0x100
mov dword [esp + 0x38], eax
jge 0x4e463a
lea edx, [edi + 0x2d04]
mov dword [esp + 0x4c], edx
mov ecx, dword [esp + 0x5c]
or eax, 0xffffffff
mov edx, ecx
mov dword [esp + 0x44], eax
cmp edx, dword [esp + 0x40]
mov dword [esp + 0x3c], ecx
jg 0x4e461a
test eax, eax
jge 0x4e4580
cmp ecx, dword [esp + 0x40]
jge 0x4e4578
mov edx, dword [ebp + 0x40]
movsx ecx, byte [edx + ecx]
mov edx, dword [esp + 0x38]
test edx, ecx
mov ecx, dword [esp + 0x3c]
je 0x4e4578
mov eax, ecx
mov dword [esp + 0x44], eax
test eax, eax
jl 0x4e4609
cmp ecx, dword [esp + 0x40]
jge 0x4e4595
mov edx, dword [ebp + 0x40]
movsx ecx, byte [edx + ecx]
mov edx, dword [esp + 0x38]
test edx, ecx
jne 0x4e4605
mov ecx, dword [ebp + 0x44]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x50]
mov eax, dword [ecx + eax*4]
sub eax, edx
mov edx, dword [esp + 0x44]
add eax, ebx
mov ecx, dword [ecx + edx*4]
mov edx, dword [esp + 0x50]
sub ecx, edx
mov edx, dword [edi + 0x2d68]
add ecx, ebx
mov dword [esp + 0x98], eax
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x10c]
add ecx, edx
lea edx, [esp + 0x108]
mov dword [esp + 0x94], ecx
add ecx, 3
lea eax, [esp + 0x90]
push edx
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x50]
push eax
push esi
call fcn.0053a0f0
or eax, 0xffffffff
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
inc ecx
cmp ecx, edx
mov dword [esp + 0x3c], ecx
jle 0x4e4555
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x4c]
shl eax, 1
add edx, 0xc
cmp eax, 0x100
mov dword [esp + 0x38], eax
mov dword [esp + 0x4c], edx
jl 0x4e453a
mov ecx, dword [esp + 0x14]
mov al, byte [ecx + 0x31ca]
test al, al
jne 0x4e46b4
mov edx, dword [edi + 0x2da0]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x128]
push edx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x110]
push ecx
push ebx
push edx
mov edx, dword [esp + 0x128]
push eax
push ebp
mov eax, dword [esp + 0x134]
sub esp, 0x10
mov ecx, esp
push edi
push esi
mov dword [ecx], edx
mov edx, dword [esp + 0x150]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x154]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x54]
call fcn.004e3160
cmp dword [edi + 0x2e60], 1
jne 0x4e46f9
mov ecx, dword [esp + 0x14]
mov edx, dword [esi]
mov eax, dword [ecx + 0x32b4]
imul eax, dword [edi + 0x2d74]
mov edi, dword [edi + 0x2e5c]
add eax, ebx
push edi
sub esp, 0x10
lea ecx, [eax + 1]
mov edi, esp
mov dword [edi], eax
mov eax, dword [esp + 0x34]
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edi + 0xc], ecx
mov ecx, esi
call dword [edx + 0x38]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0
ret 0x2c