Function at 0x667800
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
cmp dword [ebp + 0x18], 0
je 0x667828
imul eax, dword [ebp + 0x18], 0x3c
mov ecx, dword [0x11d7258]
movzx edx, byte [ecx + eax]
cmp edx, 0x11
jne 0x667828
mov dword [ebp - 0x50], 0x20a00
jmp 0x667854
mov eax, dword [ebp - 0x50]
push eax
push 8
push 0x2802520
mov ecx, dword [ebp + 0x14]
add ecx, 0x200
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00661c00
add esp, 0x1c
mov dword [ebp - 0x54], eax
mov dword [0x28023d8], 0
mov dword [ebp - 0x1c], 0
jmp 0x667870
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x54]
jge 0x667b9d
cmp dword [ebp - 0x1c], 7
jle 0x667887
jmp 0x667b9d
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx*2 + 0x2802520]
cmp edx, dword [ebp + 0x18]
jne 0x667899
jmp 0x667867
cmp dword [0x28023d8], 0
jl 0x6678ab
cmp dword [0x28023d8], 7
jle 0x6678c2
push 0x670
push str.C:devworkspaces_repo_clonesClean_UrbanChaosMuckyFoot_UrbanChaos_fallenSource_vehicle.cpp
push str.ASSERT_TRIGGERED
call fcn.0049b8f0
add esp, 0xc
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax*2 + 0x2802520]
imul edx, ecx, 0x3c
add edx, dword [0x11d7258]
mov dword [ebp - 0xc], edx
jne 0x6678dd
jmp 0x667867
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
test ecx, ecx
jne 0x6678ec
jmp 0x667867
mov edx, dword [ebp - 0xc]
mov al, byte [edx]
mov byte [ebp - 0x3c], al
cmp byte [ebp - 0x3c], 9
je 0x667913
cmp byte [ebp - 0x3c], 0x11
je 0x667a7a
cmp byte [ebp - 0x3c], 0x12
je 0x667b02
jmp 0x667b98
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x24]
movzx eax, word [edx + 0x6e]
push eax
call fcn.0066e090
add esp, 4
movzx ecx, ax
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
push edx
call fcn.0063f2a0
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x10]
sar ecx, 8
sub ecx, dword [ebp + 8]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
push edx
call fcn.006b79e0
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x18]
sar ecx, 8
sub ecx, dword [ebp + 0x10]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
push edx
call fcn.006b79e0
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jle 0x66798c
mov ecx, dword [ebp - 0x18]
sar ecx, 1
add ecx, dword [ebp - 0x14]
mov dword [ebp - 0x40], ecx
jmp 0x667997
mov edx, dword [ebp - 0x14]
sar edx, 1
add edx, dword [ebp - 0x18]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x24]
mov eax, dword [ebp + 0x14]
lea ecx, [eax + edx + 0x10]
cmp dword [ebp - 0x30], ecx
jg 0x667a70
imul edx, dword [0x28023d8], 0x1c
add edx, 0x28022f8
mov dword [ebp - 4], edx
mov eax, dword [0x28023d8]
add eax, 1
mov dword [0x28023d8], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov word [edx], cx
xor eax, eax
mov ecx, dword [ebp - 4]
mov word [ecx + 2], ax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x10]
sar edx, 8
mov eax, dword [ebp - 4]
mov word [eax + 8], dx
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x14]
sar edx, 8
mov eax, dword [ebp - 4]
mov word [eax + 0xa], dx
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x18]
sar edx, 8
mov eax, dword [ebp - 4]
mov word [eax + 0xc], dx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov ax, word [edx + 0x10]
mov word [ecx + 0xe], ax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov ax, word [edx]
mov word [ecx + 0x10], ax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov ax, word [edx + 8]
mov word [ecx + 0x14], ax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov ax, word [edx + 0xc]
mov word [ecx + 0x12], ax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov ax, word [edx + 0x14]
mov word [ecx + 0x16], ax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x24]
mov eax, dword [ebp - 4]
mov cx, word [edx + 0x54]
mov word [eax + 0x18], cx
jmp 0x667b98
imul edx, dword [0x28023d8], 0x1c
add edx, 0x28022f8
mov dword [ebp - 4], edx
mov eax, dword [0x28023d8]
add eax, 1
mov dword [0x28023d8], eax
mov ecx, 1
mov edx, dword [ebp - 4]
mov word [edx], cx
xor eax, eax
mov ecx, dword [ebp - 4]
mov word [ecx + 2], ax
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x10]
sar ecx, 8
mov edx, dword [ebp - 4]
mov word [edx + 8], cx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x14]
sar ecx, 8
mov edx, dword [ebp - 4]
mov word [edx + 0xa], cx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x18]
sar ecx, 8
mov edx, dword [ebp - 4]
mov word [edx + 0xc], cx
mov eax, 0x100
mov ecx, dword [ebp - 4]
mov word [ecx + 0xe], ax
mov edx, 0x40
mov eax, dword [ebp - 4]
mov word [eax + 0x18], dx
jmp 0x667b98
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x24]
movzx eax, byte [edx]
cmp eax, 3
jne 0x667b98
imul ecx, dword [0x28023d8], 0x1c
add ecx, 0x28022f8
mov dword [ebp - 4], ecx
mov edx, dword [0x28023d8]
add edx, 1
mov dword [0x28023d8], edx
mov eax, 1
mov ecx, dword [ebp - 4]
mov word [ecx], ax
xor edx, edx
mov eax, dword [ebp - 4]
mov word [eax + 2], dx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x10]
sar ecx, 8
mov edx, dword [ebp - 4]
mov word [edx + 8], cx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x14]
sar ecx, 8
mov edx, dword [ebp - 4]
mov word [edx + 0xa], cx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x18]
sar ecx, 8
mov edx, dword [ebp - 4]
mov word [edx + 0xc], cx
mov eax, 0x100
mov ecx, dword [ebp - 4]
mov word [ecx + 0xe], ax
mov edx, 0x40
mov eax, dword [ebp - 4]
mov word [eax + 0x18], dx
jmp 0x667867
cmp dword [ebp + 0x1c], 0
jne 0x667f79
mov ecx, dword [ebp + 8]
sub ecx, dword [ebp + 0x14]
sar ecx, 0xa
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 0x10]
sub edx, dword [ebp + 0x14]
sar edx, 0xa
mov dword [ebp - 0x28], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0x14]
sar eax, 0xa
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp + 0x14]
sar ecx, 0xa
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x20], 0
jge 0x667be6
mov dword [ebp - 0x20], 0
jmp 0x667bf3
cmp dword [ebp - 0x20], 0x1f
jle 0x667bf3
mov dword [ebp - 0x20], 0x1f
cmp dword [ebp - 0x28], 0
jge 0x667c02
mov dword [ebp - 0x28], 0
jmp 0x667c0f
cmp dword [ebp - 0x28], 0x1f
jle 0x667c0f
mov dword [ebp - 0x28], 0x1f
cmp dword [ebp - 0x24], 0
jge 0x667c1e
mov dword [ebp - 0x24], 0
jmp 0x667c2b
cmp dword [ebp - 0x24], 0x1f
jle 0x667c2b
mov dword [ebp - 0x24], 0x1f
cmp dword [ebp - 0x2c], 0
jge 0x667c3a
mov dword [ebp - 0x2c], 0
jmp 0x667c47
cmp dword [ebp - 0x2c], 0x1f
jle 0x667c47
mov dword [ebp - 0x2c], 0x1f
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x38], edx
jmp 0x667c58
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp - 0x24]
jg 0x667f79
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x34], edx
jmp 0x667c75
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x2c]
jg 0x667f74
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x38]
push eax
call fcn.006079c0
add esp, 8
mov dword [ebp - 8], eax
jmp 0x667c9f
mov ecx, dword [ebp - 8]
add ecx, 0x14
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
movzx eax, word [edx]
test eax, eax
je 0x667f6f
cmp dword [0x28023d8], 8
jl 0x667cbb
jmp 0x667f79
mov ecx, dword [ebp - 8]
movsx edx, word [ecx + 4]
mov eax, dword [ebp + 0xc]
add eax, 0x180
cmp edx, eax
jl 0x667cd0
jmp 0x667c96
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
push edx
call fcn.0063f5d0
add esp, 4
movzx eax, al
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 3
ja case.default.0x667cf2
mov ecx, dword [ebp - 0x44]
jmp dword [ecx*4 + 0x667f80]
mov edx, dword [ebp - 8]
movzx eax, word [edx]
push eax
call fcn.0063f2a0
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + 2]
sub edx, dword [ebp + 8]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x64]
push eax
call fcn.006b79e0
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + 6]
sub edx, dword [ebp + 0x10]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
push eax
call fcn.006b79e0
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x18]
jle 0x667d58
mov edx, dword [ebp - 0x18]
sar edx, 1
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x48], edx
jmp 0x667d63
mov eax, dword [ebp - 0x14]
sar eax, 1
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x24]
mov ecx, dword [ebp + 0x14]
lea edx, [ecx + eax + 0x10]
cmp dword [ebp - 0x30], edx
jg 0x667e3a
imul eax, dword [0x28023d8], 0x1c
add eax, 0x28022f8
mov dword [ebp - 4], eax
mov ecx, dword [0x28023d8]
add ecx, 1
mov dword [0x28023d8], ecx
xor edx, edx
mov eax, dword [ebp - 4]
mov word [eax], dx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ax, word [edx + 0xe]
mov word [ecx + 2], ax
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov cx, word [eax + 2]
mov word [edx + 8], cx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov cx, word [eax + 4]
mov word [edx + 0xa], cx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov cx, word [eax + 6]
mov word [edx + 0xc], cx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov cx, word [eax + 0x10]
mov word [edx + 0xe], cx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov cx, word [eax]
mov word [edx + 0x10], cx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov cx, word [eax + 8]
mov word [edx + 0x14], cx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov cx, word [eax + 0xc]
mov word [edx + 0x12], cx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov cx, word [eax + 0x14]
mov word [edx + 0x16], cx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov cx, word [eax + 8]
mov word [edx + 0x18], cx
jmp 0x667f6a
jmp 0x667f6a
mov edx, dword [ebp - 8]
movzx eax, word [edx]
push eax
call fcn.0063f2a0
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + 2]
sub edx, dword [ebp + 8]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x6c]
push eax
call fcn.006b79e0
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + 6]
sub edx, dword [ebp + 0x10]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x70]
push eax
call fcn.006b79e0
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x18]
jle 0x667ea3
mov edx, dword [ebp - 0x18]
sar edx, 1
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x4c], edx
jmp 0x667eae
mov eax, dword [ebp - 0x14]
sar eax, 1
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp + 0x14]
add edx, 0x40
cmp dword [ebp - 0x30], edx
jg 0x667f48
imul eax, dword [0x28023d8], 0x1c
add eax, 0x28022f8
mov dword [ebp - 4], eax
mov ecx, dword [0x28023d8]
add ecx, 1
mov dword [0x28023d8], ecx
mov edx, 1
mov eax, dword [ebp - 4]
mov word [eax], dx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ax, word [edx + 0xe]
mov word [ecx + 2], ax
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov cx, word [eax + 2]
mov word [edx + 8], cx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov cx, word [eax + 4]
mov word [edx + 0xa], cx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov cx, word [eax + 6]
mov word [edx + 0xc], cx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov cx, word [eax + 0x10]
mov word [edx + 0xe], cx
mov edx, 0x30
mov eax, dword [ebp - 4]
mov word [eax + 0x18], dx
jmp 0x667f6a
mov ecx, 1
test ecx, ecx
je 0x667f6a
push 0x748
push str.C:devworkspaces_repo_clonesClean_UrbanChaosMuckyFoot_UrbanChaos_fallenSource_vehicle.cpp
push str.ASSERT_TRIGGERED
call fcn.0049b8f0
add esp, 0xc
jmp 0x667c96
jmp 0x667c6c
jmp 0x667c4f
mov esp, ebp
pop ebp
ret