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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6789dd
mov eax, dword fs:[0]
push eax
sub esp, 0x360
mov eax, dword [0x6f2bf0]
xor eax, esp
mov dword [esp + 0x358], eax
push ebx
push esi
push edi
mov eax, dword [0x6f2bf0]
xor eax, esp
push eax
lea eax, [esp + 0x370]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
lea ecx, [eax + 0x80914]
mov dword [esp + 0x2c], esi
call fcn.0045787d
mov ecx, eax
call fcn.0045dd87
fstp dword [esp + 0x24]
mov eax, dword [esi + 8]
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [eax + 0x80914]
call fcn.0045787d
mov ecx, eax
call fcn.0045e14a
mov eax, dword [esi + 8]
lea ecx, [eax + 0x1c]
mov eax, dword [ecx]
call dword [eax + 0x38]
test al, al
setne al
mov byte [esi + 0x2c2e], al
mov eax, dword [esi + 8]
lea ecx, [eax + 0x1c]
mov eax, dword [ecx]
mov ebx, 0x1f4
push ebx
call dword [eax + 0x5c]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x80114]
xor edi, edi
cmp ecx, edi
je 0x43293f
push ebx
mov eax, ecx
call fcn.00446946
mov eax, dword [esi + 8]
cmp dword [eax + 0x80118], edi
je 0x432958
mov eax, dword [eax + 0x80118]
push ebx
mov ecx, eax
call fcn.00446946
mov eax, dword [esi + 8]
or dword [esi + 0x2c20], 0xffffffff
lea ebx, [eax + 0x21438]
mov dword [esi + 0x2c1c], edi
mov eax, dword [ebx + 0x10]
push ebx
push eax
lea ecx, [esp + 0x44]
call fcn.00435c3f
mov eax, dword [ebx + 0xc]
push ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.00435c3f
push ebx
push dword [esp + 0x1c]
lea ecx, [esp + 0x1c]
call fcn.00435c3f
push ebx
push dword [esp + 0x44]
lea ecx, [esp + 0x44]
call fcn.00435c3f
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x18]
call fcn.00435308
test al, al
jne 0x4329e0
push dword [esp + 0x18]
mov eax, dword [esp + 0x44]
push dword [ebx + 0x10]
call fcn.0043537c
pop ecx
pop ecx
push dword [ebx + 0x10]
mov ecx, ebx
push eax
mov dword [esp + 0x24], eax
call fcn.0043568e
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x10], eax
lea ecx, [esp + 0x84]
call fcn.00464a9d
push str.cfg_sound_view.ini
lea ecx, [esp + 0x48]
mov dword [esp + 0x37c], edi
call fcn.004040f0
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0x37c], 1
call fcn.00464b61
xor ebx, ebx
push edi
inc ebx
push ebx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x380], 0
call fcn.00403f7a
push fcn.00441c2b
push fcn.00404d4b
push 0xf
push 0x1c
lea eax, [esp + 0x1cc]
push eax
call fcn.005f3a5d
jmp 0x432aeb
lea ecx, [esp + 0x12c]
call fcn.00435d7b
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x1c4]
push eax
lea ecx, [esp + 0x138]
mov byte [esp + 0x384], 3
call fcn.00403d77
lea eax, [esp + 0x1d8]
push eax
call fcn.00463a56
pop ecx
mov dword [esp + 0x1b0], eax
mov eax, dword [esi + 8]
lea ecx, [esp + 0x12c]
push ecx
lea ecx, [eax + 0x21438]
call fcn.00434e95
lea ecx, [esp + 0x12c]
call fcn.00435d14
push fcn.00441c2b
push 0xf
push 0x1c
lea eax, [esp + 0x1c8]
push eax
mov byte [esp + 0x388], 0
call fcn.005f3b20
push fcn.00441c2b
push fcn.00404d4b
push 0xf
push 0x1c
lea eax, [esp + 0x1cc]
push eax
call fcn.005f3a5d
lea eax, [esp + 0x1bc]
push eax
push 0xf
lea ecx, [esp + 0x8c]
mov byte [esp + 0x380], 2
call fcn.00464d5d
test al, al
jne 0x432a50
push fcn.00441c2b
push 0xf
mov byte [esp + 0x380], al
push 0x1c
lea eax, [esp + 0x1c8]
push eax
call fcn.005f3b20
or dword [esp + 0x378], 0xffffffff
lea ecx, [esp + 0x84]
call fcn.00464b56
push 0x4c8
call fcn.00444afc
pop ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x378], 4
cmp eax, edi
je 0x432b70
mov ebx, dword [esi + 8]
push eax
call fcn.0043d9e4
xor ebx, ebx
inc ebx
xor edi, edi
jmp 0x432b72
xor eax, eax
or dword [esp + 0x378], 0xffffffff
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
lea ecx, [esi + 0x10]
mov dword [esi + 0x18], eax
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [esi + 0xc]
mov dword [esi + 0x1c], eax
push 4
lea eax, [esi + 0x20]
call fcn.0043aeac
mov eax, dword [esi + 8]
lea ecx, [eax + 0x1f8c]
call fcn.004506ff
mov dword [esi + 0x2c18], eax
mov eax, dword [esi + 8]
mov byte [esi + 0x2c2f], 0
mov byte [esi + 0x2c30], 0
mov eax, dword [eax + 0x2004]
push str.objg000_000.bmp
lea ecx, [esp + 0x48]
mov dword [esi + 0x2b70], eax
call fcn.004040f0
push edi
push ebx
lea ecx, [esi + 0x13c8]
push 0x15
lea edx, [esp + 0x50]
mov dword [esp + 0x384], 5
mov eax, dword [ecx]
push edx
call dword [eax + 0x140]
or dword [esp + 0x378], 0xffffffff
push edi
push ebx
lea ecx, [esp + 0x4c]
call fcn.00403f7a
push 0x6b712c
lea ecx, [esp + 0x48]
call fcn.004040f0
push edi
push ebx
lea ecx, [esi + 0x145c]
push 0x15
lea edx, [esp + 0x50]
mov dword [esp + 0x384], 6
mov eax, dword [ecx]
push edx
call dword [eax + 0x140]
or dword [esp + 0x378], 0xffffffff
push edi
push ebx
lea ecx, [esp + 0x4c]
call fcn.00403f7a
push str.objg001_000.bmp
lea ecx, [esp + 0x48]
call fcn.004040f0
push edi
push ebx
lea ecx, [esi + 0x14f0]
push 0x15
lea edx, [esp + 0x50]
mov dword [esp + 0x384], 7
mov eax, dword [ecx]
push edx
call dword [eax + 0x140]
or dword [esp + 0x378], 0xffffffff
push edi
push ebx
lea ecx, [esp + 0x4c]
call fcn.00403f7a
push 0x1e
lea ecx, [esi + 0x1598]
mov eax, dword [ecx]
push 0x2710
push edi
call dword [eax]
push 0x6b7154
lea ecx, [esp + 0x48]
call fcn.004040f0
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x88]
push eax
mov dword [esp + 0x380], 8
call fcn.0045947d
mov ecx, eax
call fcn.0045a175
push edi
push ebx
lea ecx, [esi + 0x15c0]
push 0x15
mov byte [esp + 0x384], 9
mov edx, dword [ecx]
push eax
call dword [edx + 0x140]
push edi
push ebx
lea ecx, [esp + 0x8c]
call fcn.00403f7a
or dword [esp + 0x378], 0xffffffff
push edi
push ebx
lea ecx, [esp + 0x4c]
call fcn.00403f7a
push str.objg003_000.bmp
lea ecx, [esp + 0x48]
call fcn.004040f0
push edi
push ebx
lea ecx, [esi + 0x1654]
push 0x15
lea edx, [esp + 0x50]
mov dword [esp + 0x384], 0xa
mov eax, dword [ecx]
push edx
call dword [eax + 0x140]
or dword [esp + 0x378], 0xffffffff
push edi
push ebx
lea ecx, [esp + 0x4c]
call fcn.00403f7a
mov eax, dword [esi + 8]
push str.objg004_000.bmp
lea ecx, [esp + 0x48]
mov dword [esi + 0x2538], eax
call fcn.004040f0
push edi
push ebx
lea ecx, [esi + 0x16e8]
push 0x15
lea edx, [esp + 0x50]
mov dword [esp + 0x384], 0xb
mov eax, dword [ecx]
push edx
mov dword [esp + 0xbc], ecx
call dword [eax + 0x140]
or dword [esp + 0x378], 0xffffffff
push edi
push ebx
lea ecx, [esp + 0x4c]
call fcn.00403f7a
push str.objg007_000.bmp
lea ecx, [esp + 0x48]
call fcn.004040f0
push edi
lea ecx, [esi + 0x1b18]
push ebx
mov dword [esp + 0x380], 0xc
mov eax, dword [ecx]
mov dword [esp + 0x38], ecx
push 0x15
lea edx, [esp + 0x50]
push edx
call dword [eax + 0x140]
or dword [esp + 0x378], 0xffffffff
push edi
push ebx
lea ecx, [esp + 0x4c]
call fcn.00403f7a
fld dword [esp + 0x24]
fld qword [0x6ba668]
fmul st(1)
fstp dword [esp + 0x14]
mov eax, dword [esp + 0x14]
fld qword [0x6ba660]
mov dword [esp + 0xb8], eax
fmul st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fst dword [esp + 0x18]
mov eax, dword [esp + 0x18]
fld st(1)
mov dword [esp + 0xbc], eax
fmul qword [0x6ba658]
fstp dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc0], eax
fst dword [esp + 0x18]
mov eax, dword [esp + 0x18]
fld st(1)
mov dword [esp + 0xc4], eax
fmul qword [0x6ba650]
fstp dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc8], eax
fst dword [esp + 0x18]
mov eax, dword [esp + 0x18]
fld st(1)
mov dword [esp + 0xcc], eax
fmul qword [0x6ba648]
fstp dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov dword [esp + 0xd0], eax
fst dword [esp + 0x18]
mov eax, dword [esp + 0x18]
fld st(1)
mov dword [esp + 0xd4], eax
fmul qword [0x6ba640]
fstp dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov dword [esp + 0xd8], eax
fst dword [esp + 0x18]
mov eax, dword [esp + 0x18]
fld st(1)
mov dword [esp + 0xdc], eax
fmul qword [0x6ba638]
fstp dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov dword [esp + 0xe0], eax
fst dword [esp + 0x18]
mov eax, dword [esp + 0x18]
fld st(1)
mov dword [esp + 0xe4], eax
fmul qword [0x6ba630]
fstp dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov dword [esp + 0xe8], eax
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
fld qword [0x6ba628]
mov dword [esp + 0xec], eax
fmul st(1)
fstp dword [esp + 0x14]
mov eax, dword [esp + 0x14]
fld qword [0x6ba098]
mov dword [esp + 0x44], eax
fmul st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fst dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x48], eax
fld st(1)
fmul qword [0x6ba620]
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x34]
push edx
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x50], eax
fst dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
fld st(1)
mov dword [esp + 0x54], eax
fmul qword [0x6ba618]
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x58], eax
fst dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
fld st(1)
mov dword [esp + 0x5c], eax
fmul qword [0x6ba610]
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x60], eax
fst dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
fld st(1)
mov dword [esp + 0x64], eax
fmul qword [0x6ba608]
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x68], eax
fst dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
fld st(1)
mov dword [esp + 0x6c], eax
fmul qword [0x6ba600]
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x70], eax
fst dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
fxch st(1)
mov dword [esp + 0x74], eax
fmul qword [0x6ba5f8]
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x78], eax
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x7c], eax
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [esp + 0x38]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [esp + 0x38], eax
lea eax, [esi + 0x2530]
mov dword [esp + 0x1c], eax
lea eax, [esi + 0x177c]
mov dword [esp + 0x20], edi
mov dword [esp + 0xf4], 4
mov dword [esp + 0xb4], 5
mov dword [esp + 0x84], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], eax
lea ebx, [esi + 0x1bac]
jmp 0x433061
xor edi, edi
push dword [esp + 0xf4]
mov edx, dword [esp + 0x24]
push edx
push 3
pop eax
push eax
push edx
push 2
pop eax
push eax
mov ecx, dword [esp + 0x3c]
mov esi, dword [ecx]
push edx
xor eax, eax
inc eax
push eax
push edx
xor eax, eax
push eax
push edx
push dword [esp + 0xdc]
push 7
pop eax
push eax
push dword [esp + 0xdc]
call dword [esi + 0x84]
mov esi, dword [esp + 0x28]
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x18]
mov eax, dword [esp + 0x20]
shl eax, 3
lea edi, [esp + eax + 0xbc]
fld dword [edi - 4]
mov dword [esp + 0x3c], eax
call fcn.005f5310
fld dword [edi]
mov dword [esp + 0xa4], eax
call fcn.005f5310
mov edx, dword [esi]
push eax
push dword [esp + 0xa8]
mov ecx, esi
call dword [edx + 0x2c]
fld dword [esp + 0x24]
push dword [esp + 0x80]
push dword [esp + 0x80]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004ac278
push dword [esp + 0x30]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x28]
mov ecx, dword [esp + 0x20]
lea eax, [ecx + 1]
imul ecx, dword [esp + 0x38]
mov dword [esp + 0x20], eax
imul eax, dword [esp + 0x38]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
mov eax, dword [ebx]
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x94]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call dword [eax + 0x4c]
mov eax, dword [ebx]
push 0xff
mov ecx, ebx
call dword [eax + 0x48]
mov eax, dword [ebx]
push 0xf
mov ecx, ebx
call dword [eax + 0x50]
mov esi, dword [esp + 0x3c]
fld dword [esp + esi + 0x44]
call fcn.005f5310
fld dword [esp + esi + 0x48]
mov edi, eax
call fcn.005f5310
mov edx, dword [ebx]
push eax
push edi
mov ecx, ebx
call dword [edx + 0x44]
push ebx
push dword [esp + 0x2c]
push dword [esp + 0x24]
call fcn.0043ad8e
mov eax, dword [esp + 0x20]
add dword [esp + 0x28], 0x84
add ebx, 0x15c
mov dword [esp + 0x20], eax
cmp eax, 7
jb 0x43305f
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
push 1
call dword [eax + 0x18]
mov ebx, dword [esp + 0x2c]
xor edi, edi
lea ecx, [ebx + 0x198c]
mov eax, dword [ecx]
inc edi
push edi
call dword [eax + 0x18]
lea ecx, [ebx + 0x1a10]
mov eax, dword [ecx]
push edi
call dword [eax + 0xc]
lea ecx, [ebx + 0x1a94]
mov eax, dword [ecx]
push edi
call dword [eax + 0xc]
mov dword [ebx + 0x255c], 2
mov eax, 0x203fc
mov ecx, dword [ebx + 8]
mov dword [ecx + eax], edi
add eax, 4
cmp eax, 0x2139c
jb 0x4331f6
push str.objg002_000.bmp
lea ecx, [esp + 0x48]
call fcn.004040f0
push 0
push edi
push 0x15
lea ecx, [esp + 0x50]
lea esi, [ebx + 0x2564]
mov dword [esp + 0x384], 0xd
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x140]
or dword [esp + 0x378], 0xffffffff
push 0
push edi
lea ecx, [esp + 0x4c]
call fcn.00403f7a
push 3
pop eax
push 7
pop ecx
push ecx
push eax
push esi
lea ecx, [ebx + 0x25f8]
call fcn.004acb64
mov eax, dword [ebx + 8]
push str.objg002_001.bmp
lea ecx, [esp + 0x48]
mov dword [ebx + 0x26a4], eax
call fcn.004040f0
push 0
push edi
lea ecx, [ebx + 0x2608]
push 0x15
lea edx, [esp + 0x50]
mov dword [esp + 0x384], 0xe
mov eax, dword [ecx]
push edx
call dword [eax + 0x140]
or dword [esp + 0x378], 0xffffffff
push 0
push edi
lea ecx, [esp + 0x4c]
call fcn.00403f7a
mov esi, dword [ebx + 0x2c18]
xor ecx, ecx
mov eax, esi
mov edx, 0x84
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00444816
pop ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x378], 0xf
test eax, eax
je 0x43330a
push fcn.004ac4cf
push fcn.004ac462
push esi
lea edi, [eax + 4]
push 0x84
push edi
mov dword [eax], esi
call fcn.005f3a5d
jmp 0x43330c
xor edi, edi
or dword [esp + 0x378], 0xffffffff
mov dword [ebx + 0x26d0], edi
xor esi, esi
xor edi, edi
cmp dword [ebx + 0x2c18], esi
jle 0x43344b
mov dword [esp + 0xa8], 4
push dword [esp + 0xa8]
mov eax, dword [ebx + 0x26d0]
push edi
push 3
lea ecx, [eax + esi]
pop eax
push eax
push edi
push 2
pop eax
push eax
mov edx, dword [ecx]
push edi
xor eax, eax
inc eax
push eax
push edi
xor eax, eax
push eax
push edi
push 5
pop eax
push eax
xor eax, eax
inc eax
push eax
lea eax, [ebx + 0x2608]
push eax
call dword [edx + 0x84]
mov eax, edi
cdq
push 7
pop ecx
idiv ecx
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
mov dword [esp + 0x14], edx
fmul qword [0x6ba5f0]
fadd qword [0x6ba380]
fmul dword [esp + 0x24]
call fcn.005f5310
fild dword [esp + 0x14]
mov dword [esp + 0xb0], eax
fmul qword [0x6ba390]
fadd qword [0x6ba388]
fmul dword [esp + 0x24]
call fcn.005f5310
mov ecx, dword [ebx + 0x26d0]
push eax
push dword [esp + 0xb4]
add ecx, esi
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov eax, dword [ebx + 0x26d0]
lea ecx, [eax + esi]
mov eax, dword [ecx]
push 0
call dword [eax + 0x18]
mov eax, dword [ebx + 0x26d0]
lea ecx, [eax + esi]
mov eax, dword [ecx]
push 1
call dword [eax + 8]
mov eax, dword [ebx + 0x26d0]
lea ecx, [eax + esi]
mov eax, dword [ecx]
push 0
call dword [eax + 0xc]
fld dword [esp + 0x24]
push dword [esp + 0x80]
push dword [esp + 0x80]
push ecx
mov ecx, dword [ebx + 0x26d0]
fstp dword [esp]
add ecx, esi
call fcn.004ac278
mov eax, dword [ebx + 0x26d0]
add eax, esi
push 0
push eax
lea eax, [ebx + 0x269c]
push eax
call fcn.0043ad8e
inc edi
add esi, 0x84
cmp edi, dword [ebx + 0x2c18]
jl 0x433335
push str.objg005_000.bmp
lea ecx, [esp + 0x48]
mov dword [ebx + 0x26c8], 2
call fcn.004040f0
xor edi, edi
push edi
push 1
lea ecx, [ebx + 0x28dc]
push 0x15
lea edx, [esp + 0x50]
mov dword [esp + 0x384], 0x10
mov eax, dword [ecx]
push edx
call dword [eax + 0x140]
or dword [esp + 0x378], 0xffffffff
push edi
push 1
lea ecx, [esp + 0x4c]
call fcn.00403f7a
push dword [esp + 0x30]
lea esi, [ebx + 0x2970]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
mov eax, dword [esp + 0x38]
mov ecx, eax
imul eax, eax, 7
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x8c], eax
mov eax, dword [esi]
mov dword [esp + 0x84], edi
shl ecx, 3
mov dword [esp + 0x90], ecx
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x94]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x2970]
mov ecx, esi
call dword [eax + 0x4c]
mov eax, dword [esi]
push 0xff
mov ecx, esi
call dword [eax + 0x48]
mov eax, dword [esi]
push 0xf
mov ecx, esi
call dword [eax + 0x50]
push str.objg006_000.bmp
lea ecx, [esp + 0xfc]
call fcn.004040f0
xor edi, edi
push edi
push 1
push 0x15
lea ecx, [esp + 0x104]
lea esi, [ebx + 0x2acc]
mov dword [esp + 0x384], 0x11
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x140]
or dword [esp + 0x378], 0xffffffff
push edi
push 1
lea ecx, [esp + 0x100]
call fcn.00403f7a
push 0xa
xor ecx, ecx
pop eax
inc ecx
push ecx
push eax
push esi
lea ecx, [ebx + 0x2b60]
call fcn.004acb64
mov esi, ebx
call fcn.004348b7
xor ecx, ecx
cmp dword [ebx + 0x2c18], edi
jle 0x43359a
mov eax, dword [ebx + 8]
add eax, 0x203fc
cmp dword [eax], edi
jne 0x4335d1
inc ecx
add eax, 4
cmp ecx, dword [ebx + 0x2c18]
jl 0x43358a
mov eax, dword [ebx + 0x254c]
sub eax, dword [ebx + 0x2548]
push 0x78
cdq
pop ecx
idiv ecx
test eax, eax
jle 0x4335d1
mov eax, dword [esp + 0x1c]
push edi
call fcn.0043af08
mov eax, dword [ebx + 0x254c]
sub eax, dword [ebx + 0x2548]
push 0x78
cdq
pop ecx
idiv ecx
inc edi
cmp edi, eax
jl 0x4335b0
mov esi, ebx
call fcn.004345f2
mov eax, dword [ebx + 0x2c18]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
mov byte [ebx + 0x2c31], 1
mov byte [ebx + 0x2b74], 0
neg ecx
or ecx, eax
push ecx
call fcn.00444816
pop ecx
lea ecx, [esp + 0x114]
mov dword [ebx + 0x2c28], eax
call fcn.00464a9d
lea ecx, [esp + 0x114]
call fcn.00464b56
mov ecx, dword [esp + 0x370]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x358]
xor ecx, esp
call fcn.005f39d3
mov esp, ebp
pop ebp
ret