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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x455cc6
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push ebp
mov ebp, dword [esp + 0xb4]
test ebp, ebp
je 0x42338f
push ebx
push esi
push edi
lea eax, [esp + 0x26]
lea ecx, [esp + 0x34]
push eax
mov dword [esp + 0xb8], 0
call fcn.00409960
mov edi, str.UNNAMED
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0xb4], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, str.UNNAMED
push ecx
push str.UNNAMED
lea ecx, [esp + 0x3c]
call fcn.00411590
mov ecx, dword [ebp + 4]
mov byte [esp + 0xb4], 3
mov eax, dword [ecx + 4]
mov edx, dword [eax]
shr edx, 0x1f
test dl, 1
je 0x422f8e
mov edx, dword [eax + 4]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x14]
not ecx
dec ecx
push eax
add ecx, edx
push ecx
push edx
lea ecx, [esp + 0x40]
call fcn.00412190
jmp 0x423004
lea ecx, [esp + 0x13]
mov bl, 4
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb8], bl
call fcn.00409960
mov edi, str.WARNING:_create_lod_group_without_name__r
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0xb4], 5
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, str.WARNING:_create_lod_group_without_name__r
push ecx
push str.WARNING:_create_lod_group_without_name__r
lea ecx, [esp + 0x30]
call fcn.00411590
mov eax, dword [0x4644f0]
mov byte [esp + 0xb4], 6
test eax, eax
je 0x422fec
mov edx, dword [esp + 0x28]
push edx
call eax
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0xb4], bl
call fcn.0040a280
mov byte [esp + 0xb4], 3
push str.min_max_offset
push ebp
call fcn.0044f900
push str.lod_dists
push ebp
mov esi, eax
call fcn.0044f900
mov edi, eax
push str.shapes
push ebp
mov dword [esp + 0x38], edi
call fcn.0044f900
add esp, 0x18
mov ebp, eax
lea eax, [esp + 0x34]
lea ecx, [esp + 0x8c]
push eax
mov dword [esp + 0x1c], ebp
call fcn.0042b020
mov ebx, dword [esp + 0xbc]
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, ebx
mov byte [esp + 0xbc], 7
call fcn.00425dd0
mov ecx, eax
call fcn.0042be30
lea ecx, [esp + 0x8c]
mov byte [esp + 0xb4], 3
call fcn.0042bd10
test esi, esi
je 0x4230c6
cmp dword [esi], 3
jb 0x4230c6
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.MSVCRT.dll_atoi]
mov eax, dword [edx + 4]
mov eax, dword [eax + 4]
push eax
call edi
mov ebp, eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
push eax
call edi
add esp, 8
lea ecx, [esp + 0x34]
mov esi, eax
push ecx
mov ecx, ebx
call fcn.00425dd0
mov edi, dword [esp + 0x20]
mov dword [eax + 0xc], ebp
mov ebp, dword [esp + 0x18]
mov dword [eax + 0x10], esi
test ebp, ebp
jne 0x4230d2
test edi, edi
je 0x423378
mov edx, dword [edi + 4]
mov ecx, dword [ebp + 4]
xor ebp, ebp
mov eax, dword [edx + 4]
mov esi, dword [ecx + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], esi
cmp dword [esi], 0
jbe 0x423378
mov bl, 0xd
jmp 0x4230f9
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x13]
push 8
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0xbc], 8
call fcn.00411080
mov eax, dword [esp + 0x2c]
mov byte [eax], 0
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 4]
mov eax, dword [edx + ebp*4]
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esp + 0x44]
add esp, 4
mov eax, dword [esi + 4]
lea ecx, [esp + 0x27]
push ecx
lea ecx, [esp + 0x48]
mov eax, dword [eax + ebp*4]
mov byte [esp + 0xb8], 0xa
mov esi, dword [eax + 4]
call fcn.00409960
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0xb4], 0xb
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, esi
push ecx
push esi
lea ecx, [esp + 0x4c]
call fcn.00411590
mov edi, dword [esp + 0xbc]
lea edx, [esp + 0x44]
push edx
mov ecx, edi
mov byte [esp + 0xb8], bl
call fcn.0042bc80
mov esi, eax
test esi, esi
je 0x4231bb
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
mov dword [esp + 0x18], eax
call fcn.00425dd0
lea edx, [esp + 0x14]
lea ecx, [eax + 0x14]
push edx
call fcn.00425d60
mov dword [eax], esi
jmp 0x423349
mov eax, dword [esp + 0x44]
mov esi, str.NULL
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4231e8
test cl, cl
je 0x4231e4
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4231e8
add eax, 2
add esi, 2
test cl, cl
jne 0x4231c4
xor eax, eax
jmp 0x4231ed
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x423349
lea eax, [esp + 0x44]
lea ecx, [esp + 0x5c]
push eax
push str._could_not_find_shape
push ecx
call fcn.0041d250
add esp, 0xc
mov edx, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push edx
push ecx
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xc0], 0xe
call fcn.00412200
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb4], bl
call fcn.00408340
lea eax, [esp + 0x34]
lea ecx, [esp + 0x80]
push eax
push str._for_lod_group_named_:
push ecx
call fcn.0041d250
add esp, 0xc
mov edx, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push edx
push ecx
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xc0], 0xf
call fcn.00412200
lea ecx, [esp + 0x80]
mov byte [esp + 0xb4], bl
call fcn.00408340
lea eax, [esp + 0x1f]
lea ecx, [esp + 0x50]
push eax
mov byte [esp + 0xb8], 0x10
call fcn.00409960
mov edi, str.ERROR_:
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0xb4], 0x11
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, str.ERROR_:
push ecx
push str.ERROR_:
lea ecx, [esp + 0x58]
call fcn.00411590
lea ecx, [esp + 0x28]
lea edx, [esp + 0x50]
push ecx
lea eax, [esp + 0x78]
push edx
push eax
mov byte [esp + 0xc0], 0x12
call fcn.0041eac0
push 0x461a38
lea ecx, [esp + 0x78]
push eax
push ecx
mov byte [esp + 0xcc], 0x13
call fcn.0041ebf0
add esp, 0x18
mov ecx, dword [0x4644f0]
mov byte [esp + 0xb4], 0x14
test ecx, ecx
je 0x423316
mov eax, dword [eax]
push eax
call ecx
add esp, 4
lea ecx, [esp + 0x68]
mov byte [esp + 0xb4], 0x13
call fcn.0040a280
lea ecx, [esp + 0x74]
mov byte [esp + 0xb4], 0x12
call fcn.0040a280
lea ecx, [esp + 0x50]
mov byte [esp + 0xb4], 0x10
call fcn.00408340
lea ecx, [esp + 0x44]
mov byte [esp + 0xb4], 9
call fcn.00408340
lea ecx, [esp + 0x28]
mov byte [esp + 0xb4], 3
call fcn.00408340
mov edx, dword [esp + 0x18]
inc ebp
cmp ebp, dword [edx]
jb 0x4230f5
lea ecx, [esp + 0x34]
mov dword [esp + 0xb4], 0xffffffff
call fcn.00408340
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
pop ebp
mov dword fs:[0], ecx
add esp, 0xa8
ret