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

Disassembly:
push 0xffffffffffffffff
push 0x74e4c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x30]
call fcn.004049b0
xor ebx, ebx
push str.defs_trees_trees.ini
lea ecx, [esp + 0x34]
mov dword [esp + 0x84], ebx
call fcn.00403a50
push 0xa
push str.broadweight
push str.settings
lea ecx, [esp + 0x3c]
call fcn.00402f10
push eax
lea ecx, [esp + 0x3c]
call fcn.00403300
push 0xa
push str.pineweight
push str.settings
lea ecx, [esp + 0x3c]
mov dword [0x920d94], eax
call fcn.00402f10
push eax
lea ecx, [esp + 0x3c]
call fcn.00403300
push 2
push str.deadweight
push str.settings
lea ecx, [esp + 0x3c]
mov dword [0x920d98], eax
call fcn.00402f10
push eax
lea ecx, [esp + 0x3c]
call fcn.00403300
push 4
push str.bushweight
push str.settings
lea ecx, [esp + 0x3c]
mov dword [0x920d9c], eax
call fcn.00402f10
push eax
lea ecx, [esp + 0x3c]
call fcn.00403300
mov dword [0x920da0], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], vtable.CBSList_class_CGameObjDef__.0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
lea eax, [esp + 0x1c]
push ebx
push eax
mov byte [esp + 0x88], 1
call fcn.006af960
mov ecx, dword [0x914298]
push eax
call fcn.005cc350
mov esi, dword [esp + 0x24]
xor ebp, ebp
xor edi, edi
cmp esi, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
je 0x61a24f
push ebx
push 0x85e2a8
mov eax, esi
mov eax, dword [eax]
mov esi, dword [esi + 4]
push 0x85e1c8
push ebx
push eax
call fcn.0071f44c
mov ax, word [eax + 0xf4]
add esp, 0x14
cmp ax, 2
jne 0x61a237
add dword [esp + 0x10], 1
jmp 0x61a24b
cmp ax, 1
jne 0x61a242
add ebp, 1
jmp 0x61a24b
cmp ax, 4
jne 0x61a24b
add edi, 1
cmp esi, ebx
jne 0x61a207
mov eax, dword [esp + 0x10]
mov ecx, dword [0x86fb70]
mov edx, dword [ecx]
push ebx
add eax, eax
push ebx
add eax, eax
push eax
call dword [edx + 8]
mov ecx, dword [0x86fb70]
push ebx
mov dword [0x920da4], eax
mov edx, dword [ecx]
push ebx
lea eax, [ebp*4]
push eax
call dword [edx + 8]
mov ecx, dword [0x86fb70]
push ebx
mov dword [0x920da8], eax
mov edx, dword [ecx]
push ebx
lea eax, [edi*4]
push eax
call dword [edx + 8]
mov esi, dword [esp + 0x24]
xor ebp, ebp
cmp esi, ebx
mov dword [0x920dac], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
je 0x61a33c
push ebx
push 0x85e1e4
mov eax, esi
mov eax, dword [eax]
mov esi, dword [esi + 4]
push 0x85e1c8
push ebx
push eax
call fcn.0071f44c
push ebx
push 0x85e2a8
push 0x85e1e4
mov edi, eax
push ebx
push edi
call fcn.0071f44c
mov ax, word [eax + 0xf4]
add esp, 0x28
cmp ax, 2
jne 0x61a307
mov eax, dword [esp + 0x10]
mov ecx, dword [0x920da4]
mov dword [ecx + eax*4], edi
add eax, 1
mov dword [esp + 0x10], eax
jmp 0x61a334
cmp ax, 1
jne 0x61a323
mov eax, dword [esp + 0x18]
mov edx, dword [0x920da8]
mov dword [edx + eax*4], edi
add eax, 1
mov dword [esp + 0x18], eax
jmp 0x61a334
cmp ax, 4
jne 0x61a334
mov eax, dword [0x920dac]
mov dword [eax + ebp*4], edi
add ebp, 1
cmp esi, ebx
jne 0x61a2b4
lea ecx, [esp + 0x1c]
call fcn.00548f00
lea ecx, [esp + 0x1c]
push ebx
push ecx
call fcn.006afa00
mov ecx, dword [0x914298]
push eax
call fcn.005cc350
mov eax, dword [esp + 0x20]
mov ecx, dword [0x86fb70]
mov edx, dword [ecx]
push ebx
add eax, eax
push ebx
add eax, eax
push eax
call dword [edx + 8]
mov esi, dword [esp + 0x24]
cmp esi, ebx
mov dword [0x920db0], eax
je 0x61a3b4
nop
push ebx
push 0x85e1e4
mov eax, esi
mov eax, dword [eax]
mov esi, dword [esi + 4]
push 0x85e1c8
push ebx
push eax
call fcn.0071f44c
mov ecx, dword [esp + 0x28]
mov edx, dword [0x920db0]
mov dword [edx + ecx*4], eax
add ecx, 1
add esp, 0x14
cmp esi, ebx
mov dword [esp + 0x14], ecx
jne 0x61a380
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov dword [0x920dc0], eax
mov dword [0x920db4], ecx
mov dword [0x920db8], edx
mov dword [0x920dbc], ebp
mov dword [esp + 0x1c], vtable.CBSList_class_CGameObjDef__.0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], 2
call fcn.00548f00
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], vtable.CBList_class_CGameObjDef__.0
mov dword [esp + 0x80], 0xffffffff
call fcn.004049f0
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret