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

Disassembly:
sub esp, 0x90
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0
mov eax, dword [esi]
call dword [eax + 0x184]
mov eax, dword [esi + 0xa8]
mov cl, byte [esi + 0x77]
sub eax, 0
mov byte [esp + 0x13], cl
je 0x446298
dec eax
je 0x445f8f
dec eax
jne 0x44656c
lea edi, [esi + 0x88]
mov edx, edi
mov eax, dword [edx]
mov dword [esp + 0x58], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x58]
mov edx, dword [edx + 8]
mov dword [esp + 0x60], edx
lea edx, [esi + 0x570]
call fcn.00708c10
mov al, byte [esi + 0x5ad]
test al, al
je 0x44656c
mov eax, dword [esi + 0x1b4]
push 0
mov ecx, esi
mov byte [eax + 0x144], 1
mov edx, dword [esi]
call dword [edx + 0x370]
mov al, byte [esi + 0x372]
test al, al
je 0x445945
mov eax, dword [esi + 0x418]
mov ecx, dword [eax + 0x3cc]
test ecx, ecx
jne 0x445945
push 0xffffffffffffffff
or edx, 0xffffffff
mov ecx, str.EVA_StructureSold
call fcn.0070a5a0
mov eax, dword [esi + 0x418]
mov ecx, dword [eax + 0x3cc]
test ecx, ecx
je 0x445e41
mov cl, byte [eax + 0x1362]
test cl, cl
jne 0x4459c5
mov cl, byte [eax + 0x135e]
test cl, cl
jne 0x4459c5
mov cl, byte [eax + 0x1363]
test cl, cl
jne 0x4459c5
mov cl, byte [eax + 0x1364]
test cl, cl
jne 0x4459c5
mov eax, dword [0xa255a8]
test eax, eax
je 0x445e41
mov eax, dword [esi + 0x1b0]
test eax, eax
je 0x445e41
mov ecx, dword [esi + 0x1b4]
call fcn.004f46a0
test al, al
je 0x445e41
mov eax, dword [0xa255a8]
test eax, eax
je 0x4459c5
mov al, byte [0xa25650]
test al, al
je 0x445e41
mov eax, dword [esi + 0x418]
mov cl, byte [eax + 0x1364]
test cl, cl
je 0x445a74
mov ebx, dword [eax + 0x1394]
lea ecx, [esp + 0x84]
lea ebp, [esi + 0x2c8]
push ecx
mov ecx, ebp
call fcn.004b8700
xor edx, edx
mov dh, bl
cmp word [eax], dx
jne 0x445a22
mov eax, dword [esi + 0x418]
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esi + 0x2e0]
mov ebx, dword [eax + 0xc64]
call fcn.004b8700
xor edx, edx
mov dh, bl
cmp word [eax], dx
je 0x445a74
mov eax, dword [esi + 0x418]
xor ecx, ecx
lea edx, [esp + 0x54]
mov ch, byte [eax + 0x1394]
push edx
mov word [esp + 0x58], cx
mov ecx, ebp
call fcn.004b8550
mov eax, dword [esi + 0x418]
xor ecx, ecx
lea edx, [esp + 0x4c]
mov ch, byte [eax + 0xc64]
push edx
mov word [esp + 0x50], cx
lea ecx, [esi + 0x2e0]
call fcn.004b8550
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x90
ret
mov ebp, dword [0xa283a4]
push 0x7d0
inc ebp
mov dword [0xa283a4], ebp
call fcn.0076d5a7
add esp, 4
test eax, eax
je 0x445ab1
mov ecx, dword [esi + 0x1b4]
mov edx, dword [esi + 0x418]
push ecx
mov ecx, dword [edx + 0x3cc]
push ecx
mov ecx, eax
call fcn.006eef50
mov ebp, eax
jmp 0x445ab3
xor ebp, ebp
mov ecx, dword [0xa283a4]
dec ecx
test ebp, ebp
mov dword [0xa283a4], ecx
je 0x445dae
mov ecx, esi
call fcn.005cca80
mov edx, dword [esi]
mov ecx, esi
fstp qword [esp + 0x1c]
call dword [edx + 0x29c]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x1b0]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x418]
mov cl, byte [eax + 0x1362]
test cl, cl
jne 0x445b6d
mov cl, byte [eax + 0x135e]
test cl, cl
jne 0x445b6d
mov cl, byte [eax + 0x1363]
test cl, cl
jne 0x445b6d
mov cl, byte [eax + 0x1364]
test cl, cl
jne 0x445b6d
mov eax, dword [edi]
mov edx, dword [0x839de8]
mov ecx, dword [edi + 4]
add eax, edx
mov edx, dword [0x839dec]
mov edi, dword [edi + 8]
mov dword [esp + 0x48], edi
lea ebx, [ecx + edx]
cdq
and edx, 0xff
add eax, edx
mov ecx, eax
mov eax, ebx
cdq
and edx, 0xff
add eax, edx
sar ecx, 8
sar eax, 8
shl ecx, 8
shl eax, 8
add ecx, 0x80
add eax, 0x80
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
jmp 0x445b81
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov ecx, dword [esi + 0x4e8]
test ecx, ecx
je 0x445b92
push 0
call fcn.005355f0
mov eax, dword [0xa28850]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x34], 1
mov byte [esp + 0x35], bl
mov dword [esp + 0x28], vtable.DynamicVectorClass_class_TechnoClass__.0
mov dword [esp + 0x3c], 0xa
mov dword [esp + 0x38], ebx
jle 0x445c4d
mov eax, dword [0xa28844]
mov edi, dword [eax + ebx*4]
mov ecx, dword [edi + 0x228]
test ecx, ecx
je 0x445c3f
mov edx, dword [ecx]
call dword [edx + 0x2c]
cmp eax, 6
jne 0x445c3f
cmp dword [edi + 0x228], esi
jne 0x445c3f
mov al, byte [edi + 0x7d]
test al, al
je 0x445c3f
cmp edi, esi
je 0x445c3f
cmp edi, ebp
je 0x445c3f
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
cmp ecx, eax
jl 0x445c2d
mov cl, byte [esp + 0x35]
test cl, cl
jne 0x445c11
test eax, eax
jne 0x445c3f
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jle 0x445c3f
add eax, ecx
push 0
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x30]
call dword [eax + 8]
test al, al
je 0x445c3f
mov ecx, dword [esp + 0x38]
mov eax, ecx
inc ecx
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x2c]
mov dword [ecx + eax*4], edi
mov eax, dword [0xa28850]
inc ebx
cmp ebx, eax
jl 0x445bc6
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xd0]
mov ecx, dword [esi + 0x418]
call fcn.0045e900
mov edx, dword [ebp]
push eax
lea eax, [esp + 0x44]
mov ecx, ebp
push eax
call dword [edx + 0xd4]
test al, al
je 0x445d7b
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x84]
fild dword [eax + 0xa0]
fmul qword [esp + 0x1c]
call fcn.0076a6b0
cmp eax, 1
mov dword [ebp + 0x6c], eax
jg 0x445ca2
mov eax, 1
mov dword [ebp + 0x6c], eax
mov dword [ebp + 0x70], eax
mov eax, dword [esi + 0x114]
mov dword [ebp + 0x114], eax
mov ecx, dword [esi + 0x1ac]
mov dword [ebp + 0x1ac], ecx
mov edx, dword [esi + 0x118]
mov dword [ebp + 0x118], edx
mov eax, dword [esi + 0x11c]
mov dword [ebp + 0x11c], eax
mov eax, dword [esi + 0x418]
mov cl, byte [eax + 0x1364]
test cl, cl
je 0x445d05
xor ecx, ecx
lea edx, [esp + 0x50]
mov ch, byte [eax + 0x1394]
push edx
mov word [esp + 0x54], cx
lea ecx, [ebp + 0x2c8]
call fcn.004b8630
mov eax, dword [esp + 0x18]
xor edi, edi
cmp eax, edi
je 0x445d2b
mov edx, dword [ebp]
push 1
push eax
mov ecx, ebp
call dword [edx + 0x410]
mov eax, dword [ebp]
push edi
push 2
mov ecx, ebp
call dword [eax + 0x1d0]
mov eax, dword [esi + 0x34]
cmp eax, edi
je 0x445d47
push eax
mov ecx, ebp
call fcn.005cc970
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + 0x2c]
dec ecx
mov dword [eax + 0x2c], ecx
mov dword [esi + 0x34], edi
mov al, byte [esp + 0x13]
test al, al
je 0x445d5a
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x140]
cmp dword [esp + 0x38], edi
jle 0x445d8b
mov eax, dword [esp + 0x2c]
push ebp
mov ecx, dword [eax + edi*4]
mov edx, dword [ecx]
call dword [edx + 0x370]
mov eax, dword [esp + 0x38]
inc edi
cmp edi, eax
jl 0x445d60
jmp 0x445d8b
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x1b4]
push eax
call fcn.004e4990
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], vtable.VectorClass_class_TechnoClass__.0
test eax, eax
je 0x445dc4
mov cl, byte [esp + 0x35]
test cl, cl
je 0x445dc4
push eax
call fcn.0076d2d5
add esp, 4
jmp 0x445dc4
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x29c]
mov ecx, dword [esi + 0x1b4]
push eax
call fcn.004e4990
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0xd8]
lea ecx, [esi + 0x570]
call fcn.00406070
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xf0]
mov esi, dword [esi + 0x1b4]
xor ebp, ebp
mov ebx, dword [esi + 0x78]
test ebx, ebx
jle 0x44656c
mov eax, dword [esi + 0x6c]
mov edi, dword [eax + ebp*4]
mov al, byte [edi + 0x7d]
test al, al
je 0x445e2c
mov al, byte [edi + 0x76]
test al, al
jne 0x445e2c
mov ecx, dword [edi + 0x418]
mov al, byte [ecx + 0x1358]
test al, al
je 0x445e25
push 0
mov ecx, edi
call fcn.0044e290
mov ecx, edi
call fcn.0044f5d0
inc ebp
cmp ebp, ebx
jl 0x445df8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x90
ret
mov edx, dword [esi]
push 0
mov ecx, esi
mov dword [esi + 0x434], 0xffffffff
call dword [edx + 0xdc]
mov ecx, dword [esi + 0x4e8]
test ecx, ecx
je 0x445e68
push 0
call fcn.005355f0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x29c]
mov ecx, dword [esi + 0x1b4]
push eax
call fcn.004e4990
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xd0]
lea ebp, [esi + 0x294]
mov ecx, ebp
call fcn.00690530
mov edi, eax
cmp edi, 0xffffffff
je 0x445edd
push edi
push edi
mov ecx, ebp
call fcn.00690390
push ecx
mov ecx, ebp
fstp dword [esp]
call fcn.006903c0
call fcn.0076a6b0
mov dword [esp + 0x14], eax
push edi
fild dword [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x1b4]
fstp dword [esp]
call fcn.004e4650
mov ecx, ebp
fstp st(0)
call fcn.00690530
mov edi, eax
cmp edi, 0xffffffff
jne 0x445e9c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf0]
mov ebx, dword [esi + 0x1b4]
xor ebp, ebp
mov eax, dword [ebx + 0x78]
test eax, eax
mov dword [esp + 0x14], eax
jle 0x445f37
mov ecx, dword [ebx + 0x6c]
mov edi, dword [ecx + ebp*4]
mov al, byte [edi + 0x7d]
test al, al
je 0x445f2e
mov al, byte [edi + 0x76]
test al, al
jne 0x445f2e
mov edx, dword [edi + 0x418]
mov al, byte [edx + 0x1358]
test al, al
je 0x445f27
push 0
mov ecx, edi
call fcn.0044e290
mov ecx, edi
call fcn.0044f5d0
mov eax, dword [esp + 0x14]
inc ebp
cmp ebp, eax
jl 0x445efa
mov eax, dword [esi + 0x418]
mov cl, byte [eax + 0x1361]
test cl, cl
je 0x44656c
mov cl, byte [esi + 0x5bc]
mov byte [esi + 0x5bb], 0xff
test cl, cl
jne 0x445f68
mov al, byte [eax + 0x138b]
mov byte [esi + 0x5bc], al
mov edx, dword [esi]
push 1
mov ecx, esi
mov byte [esi + 0x75], 1
mov byte [esi + 0x5bc], 1
call dword [edx + 0x3a8]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x90
ret
mov eax, dword [esi]
push 3
mov ecx, esi
call dword [eax + 0x260]
mov al, byte [esi + 0x370]
test al, al
jne 0x44656c
mov eax, dword [esi + 0x1b0]
test eax, eax
je 0x445fc7
mov ecx, dword [esi + 0x418]
mov eax, dword [ecx + 0x3cc]
test eax, eax
jne 0x4461d2
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x2b0]
mov edi, eax
mov eax, dword [esi]
push 0
mov ecx, esi
mov byte [esp + 0x16], 0
call dword [eax + 0x100]
mov dword [esp + 0x14], eax
xor ebx, ebx
mov ecx, 0x7fff
cmp word [eax], cx
jne 0x445ffa
cmp word [eax + 2], cx
je 0x446000
inc ebx
add eax, 4
jmp 0x445fef
test edi, edi
je 0x4461d2
mov dword [esp + 0x18], edi
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x2e0]
mov edi, eax
mov al, byte [edi + 0xc11]
test al, al
je 0x44604f
mov al, byte [esp + 0x12]
test al, al
je 0x446040
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2e0]
mov edi, eax
mov al, byte [edi + 0xc11]
test al, al
jne 0x446022
mov al, byte [edi + 0xc11]
test al, al
je 0x44604f
mov byte [esp + 0x12], 1
test edi, edi
je 0x4461c3
push 0x5d8
call fcn.0076d5a7
add esp, 4
test eax, eax
je 0x4461c3
mov ecx, dword [esi + 0x1b4]
push ecx
push edi
mov ecx, eax
call fcn.004fe9f0
mov ebp, eax
test ebp, ebp
je 0x4461c3
mov eax, dword [0xa283a4]
lea edx, [ebx - 1]
inc eax
push edx
mov dword [0xa283a4], eax
mov eax, dword [0xa255a0]
push 0
lea ecx, [eax + 0x218]
call fcn.0062fcf0
mov ecx, dword [esp + 0x14]
mov edx, dword [esi]
lea edi, [ecx + eax*4]
lea eax, [esp + 0x80]
push eax
mov ecx, esi
call dword [edx + 0x1a0]
mov cx, word [eax]
mov dx, word [eax + 2]
add cx, word [edi]
add dx, word [edi + 2]
movsx eax, cx
movsx ecx, dx
shl ecx, 8
shl eax, 8
add ecx, 0xa4
xor edx, edx
add eax, 0x80
mov dword [esp + 0x20], ecx
push edx
mov dword [esp + 0x28], edx
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], eax
lea edx, [esp + 0x90]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
mov ecx, 0x81a800
call fcn.00545340
mov ecx, eax
call fcn.004760b0
mov edx, eax
mov edi, dword [0x837058]
mov eax, dword [edx]
mov dword [esp + 0x1c], eax
cmp eax, edi
mov ecx, dword [edx + 4]
mov dword [esp + 0x20], ecx
mov edx, dword [edx + 8]
mov dword [esp + 0x24], edx
jne 0x446147
cmp ecx, dword [0x83705c]
jne 0x446147
cmp edx, dword [0x837060]
je 0x4461b3
mov eax, dword [ebp]
lea ecx, [esp + 0x1c]
push 0
push ecx
mov ecx, ebp
call dword [eax + 0xd4]
test al, al
je 0x4461b3
mov edx, dword [ebp + 0x5a8]
mov al, byte [edx + 0xaaa]
test al, al
je 0x446174
mov byte [ebp + 0x5c1], 1
mov edi, dword [0xa283a4]
push 0
dec edi
push 1
mov dword [0xa283a4], edi
mov eax, dword [ebp]
push 0x837058
mov ecx, ebp
call dword [eax + 0x15c]
mov edx, dword [0xa283a4]
push 0
inc edx
push 2
mov dword [0xa283a4], edx
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x1d0]
jmp 0x4461bd
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax + 0x20]
dec dword [0xa283a4]
mov eax, dword [esp + 0x18]
dec eax
mov dword [esp + 0x18], eax
jne 0x44600c
mov ecx, dword [esi + 0x1b4]
call fcn.004f4660
test al, al
je 0x446258
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x7c]
test al, al
jne 0x446258
lea edi, [esi + 0x88]
push 0
mov eax, edi
mov ecx, dword [eax]
mov dword [esp + 0x68], ecx
mov ecx, dword [0x821b68]
mov edx, dword [eax + 4]
mov dword [esp + 0x6c], edx
lea edx, [esp + 0x68]
mov eax, dword [eax + 8]
mov dword [esp + 0x70], eax
mov ecx, dword [ecx + 0x5c4]
call fcn.007088c0
mov eax, dword [esi + 0x418]
cmp dword [eax + 0xc08], 0xffffffff
je 0x446258
mov edx, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esp + 0x70], edx
mov edx, dword [edi + 8]
mov dword [esp + 0x74], ecx
lea ecx, [esi + 0x570]
mov dword [esp + 0x78], edx
push ecx
mov ecx, dword [eax + 0xc08]
lea edx, [esp + 0x74]
call fcn.007088c0
push 0
mov ecx, esi
mov dword [esi + 0xa8], 2
call fcn.00443af0
mov al, byte [esp + 0x13]
mov byte [esi + 0x5ad], 0
test al, al
je 0x44656c
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x140]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x90
ret
mov eax, dword [esi + 0x418]
mov ecx, dword [eax + 0x3cc]
test ecx, ecx
je 0x44632e
mov cl, byte [eax + 0x1362]
test cl, cl
jne 0x446308
mov cl, byte [eax + 0x135e]
test cl, cl
jne 0x446308
mov cl, byte [eax + 0x1363]
test cl, cl
jne 0x446308
mov cl, byte [eax + 0x1364]
test cl, cl
jne 0x446308
mov eax, dword [0xa255a8]
test eax, eax
je 0x44632e
mov eax, dword [esi + 0x1b0]
test eax, eax
je 0x44632e
mov ecx, dword [esi + 0x1b4]
call fcn.004f46a0
test al, al
je 0x44632e
mov eax, dword [0xa255a8]
test eax, eax
je 0x446308
mov al, byte [0xa25650]
test al, al
je 0x44632e
mov eax, dword [esi + 0x418]
mov cl, byte [eax + 0x1364]
test cl, cl
jne 0x446322
mov cl, byte [eax + 0x135e]
test cl, cl
je 0x44632e
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x370]
mov ecx, dword [esi + 0x418]
mov al, byte [ecx + 0x1349]
test al, al
je 0x44641d
mov edx, dword [esi]
push 0x13
mov ecx, esi
call dword [edx + 0x254]
cmp eax, 1
jne 0x44641d
push 0
mov ecx, esi
call fcn.0062e260
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call dword [edx + 0x48]
mov edx, dword [esi]
mov edi, eax
lea eax, [esp + 0x94]
mov ecx, esi
push eax
call dword [edx + 0x48]
mov ecx, dword [eax + 8]
mov ebx, dword [edi + 8]
mov edx, dword [eax + 4]
mov eax, dword [eax]
sub ecx, ebx
mov ebx, dword [edi]
push ecx
mov ecx, dword [edi + 4]
sub edx, ecx
sub eax, ebx
push edx
push eax
lea ecx, [esp + 0x34]
call fcn.0041b630
mov ecx, dword [eax]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x40]
mov edx, dword [eax + 4]
mov dword [esp + 0x44], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x48], eax
call fcn.0041b780
cmp eax, 0x80
jge 0x44641d
push 0
mov ecx, esi
call fcn.0062e260
mov edx, dword [esi]
push 3
mov ecx, esi
mov edi, eax
call dword [edx + 0x254]
mov al, byte [esi + 0x372]
test al, al
je 0x4463f3
push 0xffffffffffffffff
or edx, 0xffffffff
mov ecx, str.EVA_UnitSold
call fcn.0070a5a0
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 0x188]
mov edx, dword [esi]
push 0
push 5
mov ecx, esi
call dword [edx + 0x1d0]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x90
ret
mov al, byte [esi + 0x5c6]
test al, al
je 0x446511
movsx eax, al
mov ecx, dword [esi + eax*4 + 0x4bc]
mov eax, dword [esi + 0x1b4]
push eax
mov edx, dword [ecx]
call dword [edx + 0x8c]
mov edi, eax
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0x29c]
mov ecx, dword [esi + 0x1b4]
push eax
call fcn.004e4990
test edi, edi
je 0x446469
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 0x20]
mov ecx, esi
call fcn.0044c550
mov ecx, dword [esi + 0x1b4]
xor ebp, ebp
mov byte [ecx + 0x5668], 1
mov edx, dword [esi + 0x1b4]
mov byte [edx + 0x5669], 1
mov ebx, dword [esi + 0x1b4]
mov eax, dword [ebx + 0x78]
test eax, eax
mov dword [esp + 0x14], eax
jle 0x4464da
mov eax, dword [ebx + 0x6c]
mov edi, dword [eax + ebp*4]
mov al, byte [edi + 0x7d]
test al, al
je 0x4464d1
mov al, byte [edi + 0x76]
test al, al
jne 0x4464d1
mov ecx, dword [edi + 0x418]
mov al, byte [ecx + 0x1358]
test al, al
je 0x4464ca
push 0
mov ecx, edi
call fcn.0044e290
mov ecx, edi
call fcn.0044f5d0
mov eax, dword [esp + 0x14]
inc ebp
cmp ebp, eax
jl 0x44649d
mov al, byte [esi + 0x372]
test al, al
je 0x4464f3
push 0xffffffffffffffff
or edx, 0xffffffff
mov ecx, str.EVA_StructureSold
call fcn.0070a5a0
mov edx, dword [esi]
push 0
push 5
mov ecx, esi
call dword [edx + 0x1d0]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x90
ret
mov eax, dword [esi]
push 0x17
mov ecx, esi
mov byte [esi + 0x5ad], 0
call dword [eax + 0x260]
mov ecx, dword [esi + 0x418]
mov al, byte [ecx + 0x1358]
test al, al
je 0x44653d
push 0
mov ecx, esi
call fcn.0044e290
lea edi, [esi + 0x49c]
mov ebp, 8
mov ecx, dword [edi]
test ecx, ecx
je 0x44655c
mov edx, dword [ecx]
call dword [edx + 0xf0]
mov dword [edi], 0
add edi, 4
dec ebp
jne 0x446548
mov dword [esi + 0xa8], 1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x90
ret