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

Disassembly:
sub esp, 0x9c
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [eax]
mov ebp, dword [ecx + 0xc]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax + 0x1c]
shl esi, 6
lea esi, [esi + eax + 0x20]
mov eax, dword [eax + 8]
mov dword [esp + 0x30], ecx
movzx ecx, byte [esi + 0x28]
push edi
lea edi, [ecx*8]
sub edi, ecx
lea eax, [eax + edi*8 + 8]
mov edi, dword [eax + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esi]
mov ebx, eax
shr ebx, 0x19
xor edx, edx
and ebx, 1
mov dword [esp + 0x58], edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x48], ebx
test eax, 0x800000
je 0x4e4483
test byte [esp + 0xb0], 0x40
mov dword [esp + 0x28], 1
je 0x4e4487
mov dword [esp + 0x28], edx
mov eax, ebp
call fcn.004bbe60
mov dword [esp + 0x2c], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], eax
mov eax, ebp
call fcn.004bbe60
cmp byte [esi + 0x28], 0
mov dword [esp + 0x5c], eax
mov dword [esi + 0x20], eax
jbe 0x4e44d2
mov ecx, dword [esp + 0x18]
test byte [ecx + 0x15], 8
je 0x4e44d2
mov eax, dword [esp + 0x10]
inc dword [eax + 0x48]
mov eax, dword [eax + 0x48]
push eax
mov dword [esi + 0xc], eax
push 0
push 0x30
mov eax, ebp
call fcn.004bbe00
add esp, 0xc
mov eax, dword [esi]
test eax, 0x8000000
je 0x4e478d
mov eax, dword [esi + 8]
mov edi, dword [eax]
mov edx, dword [eax + 0x10]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
lea eax, [edi + 2]
push eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x44], edx
mov dword [esp + 0x28], eax
call fcn.004b5390
add esp, 4
cmp edi, 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
jl 0x4e45f9
jmp 0x4e4529
mov edi, dword [esp + 0x14]
xor ebx, ebx
test edi, edi
jle 0x4e45e0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x1c]
nop
cmp dword [edx + ebx*8], eax
je 0x4e454f
inc ebx
cmp ebx, ecx
jl 0x4e4540
jmp 0x4e45e0
mov ecx, dword [esp + 0x20]
lea edi, [eax + ecx + 1]
mov eax, dword [esp + 0x18]
lea edx, [ebx + ebx*2]
mov eax, dword [eax + edx*4 + 8]
mov edx, dword [esp + 0x34]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x1c]
mov ecx, dword [eax + ecx*8]
mov eax, dword [ecx + 0xc]
mov edx, dword [esp + 0x10]
push edi
push eax
push edx
mov dword [esp + 0x60], edi
call fcn.004e2550
add esp, 0xc
mov dword [esp + 0x44], eax
cmp eax, edi
je 0x4e45e0
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0xc]
test edi, edi
je 0x4e45e0
mov eax, dword [edi + 0xc]
cmp dword [edi + 0x10], eax
mov dword [esp + 0x28], eax
jg 0x4e45ad
call fcn.004bbc80
test eax, eax
jne 0x4e45e0
mov edx, dword [edi + 0x14]
inc dword [edi + 0xc]
mov eax, dword [esp + 0x28]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x54]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 9
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [edi + 0x6e], cl
cmp ebx, dword [esp + 0x14]
je 0x4e45f9
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
jle 0x4e4525
mov eax, dword [esp + 0x38]
mov ebx, dword [ebp + 0xc]
cmp dword [ebp + 0x10], ebx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x28], ecx
jg 0x4e4617
mov edi, ebp
call fcn.004bbc80
test eax, eax
jne 0x4e4646
mov eax, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov ecx, dword [esp + 0x28]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x20]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x30
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [ebp + 0x6e], cl
mov ebx, dword [ebp + 0xc]
cmp dword [ebp + 0x10], ebx
jg 0x4e4659
mov edi, ebp
call fcn.004bbc80
test eax, eax
jne 0x4e468a
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x1c]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x20]
inc ecx
dec edx
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x30
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [ebp + 0x6e], cl
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0x1c]
mov ebx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
neg eax
sbb eax, eax
and eax, 0xfffffff7
add eax, 0xfffffffe
cmp dword [ebp + 0x10], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], edx
jg 0x4e46c0
mov edi, ebp
call fcn.004bbc80
test eax, eax
je 0x4e46c0
mov ebx, 1
jmp 0x4e46f7
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x3c]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x20]
mov byte [eax], 0x67
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov byte [ebp + 0x6e], 0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
push eax
push ebp
mov eax, ebx
call fcn.004bc210
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
add esp, 8
mov dword [ecx + 0x1c], 0
test eax, eax
jle 0x4e475a
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x40]
add edi, 8
add ebx, 4
mov dword [esp + 0x18], eax
cmp byte [ebx], 0
je 0x4e474d
mov eax, dword [edi]
mov esi, dword [esp + 0x30]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x1c]
lea eax, [ecx + edx*8]
call fcn.004b7100
add ebx, 8
add edi, 0xc
sub dword [esp + 0x18], 1
jne 0x4e4730
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
mov byte [esi + 0x29], 1
mov dword [esi + 0x2c], edx
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x10]
cmp ecx, dword [eax + 0x38]
mov ebx, eax
jle 0x4e50a1
mov dword [eax + 0x38], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x3c], ecx
jmp 0x4e50a1
test eax, 0x1000
je 0x4e4835
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + 0x15]
test al, al
jne 0x4e47af
inc dword [ecx + 0x48]
mov edx, dword [ecx + 0x48]
mov dword [esp + 0x58], edx
jmp 0x4e47bf
dec al
mov byte [ecx + 0x15], al
movzx eax, al
mov ecx, dword [ecx + eax*4 + 0x18]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x34]
push 0
push 3
push edx
push eax
push edi
push ecx
or ebx, 0xffffffff
call fcn.004d8690
mov edx, dword [esp + 0x70]
push edx
push eax
mov eax, dword [esp + 0x30]
push eax
mov ebx, esi
call fcn.004e4140
mov ebx, eax
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x48], eax
push ebx
push 0x26
mov eax, ebp
call fcn.004bbe00
mov ecx, dword [esp + 0x50]
push ebx
push ecx
push edi
push 0x2e
mov eax, ebp
call fcn.004bbd00
mov ecx, dword [esp + 0x50]
add esp, 0x40
push ebx
push 0xffffffffffffffff
push edi
call fcn.004b4f80
add esp, 0xc
mov byte [esi + 0x29], 0x18
mov ebx, ecx
jmp 0x4e50a1
test eax, 0x2000
je 0x4e4a4c
mov edx, dword [esp + 0xb8]
mov esi, dword [esp + 0xb4]
mov eax, dword [esp + 0x34]
push 0
push 0x24
push edx
push esi
push edi
push eax
or ebx, 0xffffffff
mov dword [esp + 0x38], 0x18
mov dword [esp + 0x30], 0
call fcn.004d8690
mov ecx, dword [esp + 0xd0]
mov edx, dword [esp + 0x4c]
push 0
push 0x18
push ecx
push esi
push edi
push edx
or ebx, ebx
mov dword [esp + 0x54], eax
call fcn.004d8690
mov ecx, dword [esp + 0x78]
add esp, 0x30
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x4e48ab
mov edx, dword [esp + 0x24]
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], edx
cmp dword [esp + 0x24], 0
je 0x4e4926
mov eax, dword [esp + 0x24]
mov edi, dword [eax]
mov ebx, dword [esp + 0x10]
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [edi + 0xc]
mov esi, ebx
mov byte [esp + 0x20], 0x7b
mov byte [esp + 0x21], 0x37
mov byte [esp + 0x22], 0x46
mov byte [esp + 0x23], 0x6d
call fcn.004bd240
movzx ecx, byte [edi]
mov edx, dword [esp + 0x30]
mov esi, eax
mov eax, dword [esp + 0x40]
push esi
push edx
movzx edx, byte [esp + ecx - 0x23]
push eax
push edx
mov eax, ebp
call fcn.004bbd00
push ebx
mov eax, 1
call fcn.004b51b0
mov esi, dword [esp + 0x40]
add esp, 0x18
mov edx, ebx
call fcn.004b5360
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x30]
call fcn.004b7100
mov eax, esi
jmp 0x4e4949
mov eax, dword [esp + 0x2c]
neg ecx
sbb ecx, ecx
push eax
and ecx, 0xffffffbc
add ecx, 0x7a
push edi
push ecx
mov eax, ebp
call fcn.004bbe00
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
add esp, 0xc
cmp dword [esp + 0x14], 0
je 0x4e49af
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
inc dword [ebx + 0x48]
mov esi, dword [ebx + 0x48]
mov dword [esp + 0x28], eax
mov eax, dword [eax + 0xc]
mov edi, ebx
mov dword [esp + 0x18], esi
call fcn.004bd2c0
mov edx, dword [esp + 0x28]
mov al, byte [edx]
cmp al, 0x4d
je 0x4e498f
cmp al, 0x4b
je 0x4e498f
xor eax, eax
cmp dword [esp + 0x48], eax
setne al
lea eax, [eax + eax + 0x4b]
mov dword [esp + 0x20], eax
jmp 0x4e49a0
xor ecx, ecx
cmp dword [esp + 0x48], ecx
sete cl
lea ecx, [ecx + ecx + 0x4c]
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
call fcn.004b7100
mov eax, esi
mov edx, dword [esp + 0x48]
mov esi, dword [ebp + 0xc]
neg edx
sbb dl, dl
and dl, 0xc7
add dl, 0x6a
cmp dword [esp + 0x24], 0
mov byte [eax + 0x29], dl
mov edx, dword [esp + 0x3c]
mov dword [eax + 0x2c], edx
mov dword [eax + 0x30], esi
jne 0x4e49e2
cmp dword [esp + 0x14], 0
jne 0x4e49e2
mov ecx, 1
jmp 0x4e49e4
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov byte [eax + 0x2a], cl
cmp edi, 0x18
je 0x4e50a1
mov eax, ebx
call fcn.004b5340
mov esi, eax
push esi
push edx
push 0x28
mov eax, ebp
mov dword [esp + 0x64], esi
call fcn.004bbe00
mov eax, dword [esp + 0x48]
push esi
push 0xffffffffffffffff
push eax
mov ecx, ebx
call fcn.004b4f80
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x30]
push esi
push ecx
push edx
push edi
mov eax, ebp
call fcn.004bbd00
mov eax, dword [ebp + 0x14]
add esp, 0x28
test eax, eax
je 0x4e50a1
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x11], 0x6b
jmp 0x4e50a1
test eax, 0x30000
je 0x4e4e92
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
mov dword [esp + 0x50], edx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x50]
mov edx, dword [edx + 8]
mov edx, dword [edx + ecx*4]
xor eax, eax
test byte [esp + 0xb0], 1
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0x7a
mov dword [esp + 0x78], 0x36
mov dword [esp + 0x7c], 0x7b
mov dword [esp + 0x80], 0x46
mov dword [esp + 0x84], 0x6d
mov dword [esp + 0x88], 0x37
mov dword [esp + 0x60], 0x18
mov dword [esp + 0x64], 0x3f
mov dword [esp + 0x68], 0x29
mov dword [esp + 0x24], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x18], edx
je 0x4e4b05
test dword [esi], 0x1000000
je 0x4e4b05
mov edx, dword [esp + 0x50]
cmp dword [edx + 4], ecx
jle 0x4e4b05
mov eax, 1
mov dword [esp + 0x54], eax
test dword [esi], 0x100000
je 0x4e4b43
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xb4]
mov ebx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x38]
push 0x18
push ecx
push edx
push edi
push eax
call fcn.004d8690
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x64], eax
add esp, 0x18
mov eax, 1
test dword [esi], 0x200000
je 0x4e4b81
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0xb4]
mov ebx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x38]
push 0x24
push edx
push eax
push edi
push ecx
call fcn.004d8690
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x2c], eax
add esp, 0x18
mov eax, 1
mov edx, dword [esp + 0xb8]
mov ecx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0xb8]
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push esi
push edx
call fcn.004e42a0
mov ecx, dword [esi + 0x1c]
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x38], ecx
mov ecx, dword [edx + 0x28]
xor edx, edx
add esp, 0x18
cmp byte [edi + ecx], dl
mov dword [esp + 0x38], eax
sete dl
cmp ebx, edx
jne 0x4e4bd9
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x14], ecx
jmp 0x4e4be1
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x4c]
xor ebx, ebx
cmp ecx, ebx
je 0x4e4bf1
test byte [ecx + 0x10], 0x28
mov dword [esp + 0x40], ebx
je 0x4e4bf9
mov dword [esp + 0x40], 1
cmp edx, ebx
je 0x4e4c07
test byte [edx + 0x10], 0x28
mov dword [esp + 0x44], ebx
je 0x4e4c0f
mov dword [esp + 0x44], 1
cmp ecx, ebx
jne 0x4e4c1b
cmp edi, ebx
mov dword [esp + 0x18], ebx
jle 0x4e4c23
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], edi
cmp ecx, ebx
je 0x4e4c63
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
mov ebx, edi
mov edi, dword [esp + 0x10]
lea esi, [eax + ebx]
mov eax, dword [edx + 0xc]
call fcn.004bd2c0
mov eax, dword [esp + 0x20]
push eax
push esi
push 0x47
mov eax, ebp
call fcn.004bbe00
mov esi, dword [esp + 0x3c]
add esp, 0xc
inc ebx
mov dword [esp + 0x1c], ebx
jmp 0x4e4c8a
cmp dword [esp + 0x54], ebx
je 0x4e4c8a
add eax, edi
push eax
push ebx
push 0x77
mov eax, ebp
call fcn.004bbe00
add esp, 0xc
inc edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x18], 1
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
push ecx
push edx
call fcn.004bf180
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x28]
push edx
lea edx, [eax + ecx*2]
mov eax, dword [esp + 0x5c]
lea ecx, [eax + edx*2]
mov edx, dword [esp + ecx*4 + 0x80]
push edx
mov eax, ebp
call fcn.004bbd00
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp]
add esp, 0x18
test ecx, ecx
je 0x4e4d0b
cmp byte [edi + 0x1e], 0
jne 0x4e4d0b
test eax, eax
jge 0x4e4cec
mov eax, dword [ebp + 0xc]
dec eax
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*4]
movsx eax, byte [ebx + 1]
mov ecx, dword [ebx + 0x10]
call fcn.004bc140
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 0x10], ecx
mov byte [ebx + 1], 0xf2
jmp 0x4e4d19
mov ecx, dword [esp + 0x1c]
mov eax, 0xfffffff2
call fcn.004bc140
cmp dword [esp + 0x4c], 0
mov edi, dword [esp + 0x24]
je 0x4e4d73
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x10]
mov eax, edi
lea esi, [edx + eax]
push esi
mov edx, ebx
call fcn.004b50c0
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov edi, ebx
call fcn.004bd2c0
mov eax, dword [esp + 0x24]
push eax
push esi
push 0x47
mov eax, ebp
call fcn.004bbe00
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x34]
push ecx
inc edi
push edx
call fcn.004bf180
mov esi, dword [esp + 0x48]
add esp, 0x18
cmp dword [esp + 0x4c], 0
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x30], eax
jne 0x4e4d8b
cmp dword [esp + 0x24], 0
jne 0x4e4d8b
xor eax, eax
jmp 0x4e4d90
mov eax, 1
mov ebx, dword [esp + 0x48]
lea ecx, [ebx + 1]
imul ecx, eax
mov eax, dword [esp + ecx*4 + 0x60]
cmp eax, 0x18
je 0x4e4dd5
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
push 0xfffffffffffffff2
push edi
push eax
mov eax, dword [esp + 0x44]
mov edi, ebp
call fcn.004c20e0
mov eax, dword [ebp + 0x14]
add esp, 0xc
test eax, eax
je 0x4e4dd5
cmp dword [esp + 0x44], ebx
mov ecx, dword [ebp + 0xc]
setne dl
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x11], dl
mov eax, dword [esp + 0x10]
call fcn.004b5340
test dword [esi], 0x300000
mov edi, eax
je 0x4e4e0e
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
push edi
push edx
push eax
push 3
mov eax, ebp
call fcn.004bbd00
mov ecx, dword [esp + 0x6c]
push ecx
push edi
push 0x47
mov eax, ebp
call fcn.004bbe00
add esp, 0x1c
mov ebx, dword [esp + 0x10]
mov esi, edi
mov edx, ebx
call fcn.004b5360
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
call fcn.004b7100
mov eax, dword [esp + 0x4c]
call fcn.004b7100
cmp dword [esp + 0x28], 0
jne 0x4e4e75
mov eax, ebx
call fcn.004b5340
mov edx, dword [esp + 0x2c]
mov edi, eax
push edi
push edx
push 0x39
mov eax, ebp
mov dword [esp + 0x64], edi
call fcn.004bbe00
mov eax, dword [esp + 0x48]
push edi
push 0xffffffffffffffff
push eax
mov ecx, ebx
call fcn.004b4f80
mov ecx, dword [esp + 0x54]
push edi
push ecx
push 5
mov eax, ebp
call fcn.004bbe00
add esp, 0x24
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x2c]
neg edx
sbb dl, dl
and dl, 0xc7
add dl, 0x6a
mov byte [esi + 0x29], dl
mov dword [esi + 0x2c], eax
jmp 0x4e50a1
test eax, 0x10000000
je 0x4e5071
mov ebx, dword [esp + 0x10]
inc dword [ebx + 0x48]
mov ecx, dword [ebx + 0x48]
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], eax
mov eax, ebp
mov dword [esp + 0x1c], ecx
call fcn.004bbe60
mov edx, esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x24], eax
mov eax, dword [eax + 0xc]
mov ecx, 1
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xb0]
mov edx, ecx
mov word [esp + 0x6c], cx
mov ecx, 0xe
lea edi, [esp + 0x74]
and eax, 8
mov word [esp + 0x6e], dx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x20], eax
jne 0x4e4f23
mov eax, dword [ebx + 0x48]
lea ecx, [eax + 1]
lea eax, [ecx + 1]
push ecx
mov dword [ebx + 0x48], eax
mov dword [esp + 0x2c], eax
push 0
push 0x77
mov eax, ebp
mov dword [esp + 0x50], ecx
call fcn.004bbe00
add esp, 0xc
mov eax, dword [esp + 0x1c]
push eax
xor esi, esi
push esi
push 0x30
mov eax, ebp
call fcn.004bbe00
mov edi, dword [esp + 0x60]
add esp, 0xc
cmp dword [edi + 0x14], esi
mov ecx, eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x2c], esi
jle 0x4e5017
mov dword [esp + 0x40], esi
mov eax, dword [edi + 0x1c]
add eax, dword [esp + 0x40]
mov ecx, dword [eax + 8]
cmp ecx, dword [esp + 0x3c]
je 0x4e4f71
mov edx, 0x200
cmp word [eax + 0x10], dx
jne 0x4e4ffc
mov eax, dword [eax]
push 0x70
push 0
push eax
lea ecx, [esp + 0x78]
push ecx
push ebx
call fcn.004e5270
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4e4ffc
cmp word [esp + 0x20], 0
jne 0x4e4fe0
mov edx, dword [edi + 0x14]
dec edx
cmp dword [esp + 0x2c], edx
jne 0x4e4fa3
or edi, 0xffffffff
jmp 0x4e4fa7
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [edx + 0xc]
push ecx
push 0xffffffffffffffff
push eax
push ebx
xor eax, eax
call fcn.004debb0
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x58]
push 0xfffffffffffffff2
push edi
add ecx, 2
push 0x71
mov edi, ebp
call fcn.004c20e0
mov edi, dword [esp + 0x74]
add esp, 0x20
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push ecx
push edx
push 0x2f
mov eax, ebp
call fcn.004bbe00
push esi
call fcn.004bf290
add esp, 0x10
mov eax, dword [esp + 0x2c]
add dword [esp + 0x40], 0x28
inc eax
cmp eax, dword [edi + 0x14]
mov dword [esp + 0x2c], eax
jl 0x4e4f52
mov ecx, dword [esp + 0x38]
mov eax, dword [ebp + 0xc]
cmp eax, ecx
jle 0x4e5028
mov edx, dword [ebp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 4], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x18]
push ecx
push 0
push 0x60
mov eax, ebp
call fcn.004bbe00
mov eax, dword [ebp + 0x20]
add esp, 0xc
test eax, eax
je 0x4e5057
mov edx, dword [esp + 0x14]
lea ecx, [edx*4 + 4]
mov edx, dword [ebp + 0xc]
sub eax, ecx
mov dword [eax], edx
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x24]
mov byte [esi + 0x29], 0x19
call fcn.004b7100
jmp 0x4e50a1
mov cl, byte [ebx + 0x57fe20]
mov edx, dword [esp + 0x2c]
mov byte [esi + 0x29], cl
mov dword [esi + 0x2c], edi
movzx eax, byte [ebx + 0x57fe24]
push edx
push edi
push eax
mov eax, ebp
call fcn.004bbe00
mov ebx, dword [esp + 0x1c]
add esp, 0xc
inc eax
mov dword [esi + 0x30], eax
mov byte [esi + 0x2a], 1
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
xor ecx, ecx
test eax, eax
jle 0x4e50c7
add edx, 4
mov esi, dword [esp + 0x3c]
cmp dword [edx], esi
je 0x4e5236
inc ecx
add edx, 4
cmp ecx, eax
jl 0x4e50b3
xor eax, eax
xor edx, edx
not eax
and dword [esp + 0xb4], eax
mov eax, dword [esp + 0x34]
mov edi, dword [eax + 0x14]
mov esi, dword [eax + 0x1c]
not edx
and dword [esp + 0xb8], edx
test edi, edi
jle 0x4e513d
jmp 0x4e50f0
test byte [esi + 0x12], 6
jne 0x4e5135
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
and eax, dword [esp + 0xb4]
and ecx, dword [esp + 0xb8]
or eax, ecx
jne 0x4e5135
mov edx, dword [esp + 0x30]
cmp dword [edx + 0xc], 0
mov eax, dword [esi]
je 0x4e5120
test byte [eax + 2], 1
je 0x4e5135
mov ecx, dword [esp + 0x5c]
push 8
push ecx
push eax
push ebx
call fcn.004d44d0
add esp, 0x10
or byte [esi + 0x12], 4
dec edi
add esi, 0x28
test edi, edi
jg 0x4e50f0
mov edx, dword [esp + 0x30]
cmp dword [edx + 0xc], 0
je 0x4e51f0
mov ecx, dword [ebp + 0xc]
mov eax, edx
mov edx, dword [eax + 0xc]
mov dword [eax + 0x24], ecx
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
mov dword [esp + 0x28], edx
jg 0x4e516d
mov edi, ebp
call fcn.004bbc80
test eax, eax
jne 0x4e519d
mov edx, dword [ebp + 0x14]
mov ecx, 1
add dword [ebp + 0xc], ecx
lea eax, [esi + esi*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x30
mov byte [eax + 3], 0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [ebp + 0x6e], cl
mov ebp, dword [esp + 0x34]
mov edx, ebx
call fcn.004b5160
mov esi, dword [ebp + 0x1c]
xor edi, edi
cmp dword [ebp + 0x14], edi
jle 0x4e51f0
test byte [esi + 0x12], 6
jne 0x4e51e7
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
and eax, dword [esp + 0xb4]
and ecx, dword [esp + 0xb8]
or eax, ecx
jne 0x4e51e7
mov edx, dword [esp + 0x5c]
mov eax, dword [esi]
push 8
push edx
push eax
push ebx
call fcn.004d44d0
add esp, 0x10
or byte [esi + 0x12], 4
inc edi
add esi, 0x28
cmp edi, dword [ebp + 0x14]
jl 0x4e51b2
mov esi, dword [esp + 0x58]
test esi, esi
je 0x4e521d
mov dl, byte [ebx + 0x15]
cmp dl, 8
jae 0x4e521d
xor eax, eax
lea ecx, [ebx + 0x60]
cmp dword [ecx + 0x10], esi
je 0x4e5247
inc eax
add ecx, 0x18
cmp eax, 0xa
jl 0x4e5205
movzx ecx, dl
mov dword [ebx + ecx*4 + 0x18], esi
inc byte [ebx + 0x15]
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret
mov eax, 1
xor edx, edx
call fcn.00530ec0
jmp 0x4e50cb
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
mov byte [ecx + 9], 1
pop ebx
add esp, 0x9c
ret