Function at 0x432c90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x52382c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x128], ebx
cmp ebx, 0x28
jge 0x43365b
cmp dword [ebx*4 + 0x6a36e8], 0xffffffff
push esi
push edi
jne 0x432e03
mov ecx, ebx
shl ecx, 5
lea edi, [ecx + 0x51aa70]
mov eax, edi
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x432cd6
sub eax, esi
je 0x432e03
push edi
lea esi, [ecx + 0x1a7d8c0]
push str._s.txb
push esi
call fcn.004cce8a
push esi
lea eax, [ebp - 0x104]
push str.Char_s
push eax
call fcn.004cce8a
lea ecx, [ebp - 0x104]
push ecx
call fcn.004318d0
lea edx, [ebp - 0x124]
push edx
lea eax, [ebp - 0x104]
push eax
call fcn.0047e110
add esp, 0x24
xor ecx, ecx
cmp byte [ebp - 0x11c], 1
push 1
sete cl
cmp dword [0x64123c], 0
lea esi, [ecx*4 + 0x15]
push esi
je 0x432d65
mov edx, dword [0x41ec330]
mov ecx, dword [0x5f483c]
push edx
lea eax, [ebp - 0x104]
push eax
call fcn.004a5380
jmp 0x432d7e
mov ecx, dword [0x41ec330]
push ecx
mov ecx, dword [0x5f483c]
lea edx, [ebp - 0x104]
push edx
call fcn.004a4f60
cmp dword [0x5eaaa0], 0
mov dword [ebx*4 + 0x6a36e8], eax
je 0x432db3
cmp esi, 0x19
jne 0x432d9b
push 0x31545844
push eax
jmp 0x432da8
mov ecx, dword [ebx*4 + 0x6a36e8]
push 0x34545844
push ecx
mov ecx, dword [0x5f483c]
call fcn.004a4b60
mov eax, dword [ebx*4 + 0x6a36e8]
mov ecx, dword [0x5f483c]
mov edx, dword [ecx + eax*4 + 0x11414]
fild dword [ecx + eax*4 + 0x11414]
test edx, edx
jns 0x432dd8
fadd dword [0x4e4558]
fstp dword [ebx*4 + 0x5ea908]
mov eax, dword [ecx + eax*4 + 0x11814]
mov dword [ebp - 0x130], eax
fild dword [ebp - 0x130]
test eax, eax
jns 0x432dfc
fadd dword [0x4e4558]
fstp dword [ebx*4 + 0x5ea850]
cmp dword [ebx*4 + 0x6a42c8], 0xffffffff
jne 0x432eed
mov ecx, ebx
shl ecx, 5
lea edx, [ecx + str.HeadMaleColor11]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x432e21
sub eax, esi
je 0x432eed
push edx
lea edx, [ebp - 0x104]
push str.Char_s.txb
push edx
call fcn.004cce8a
lea eax, [ebp - 0x104]
push eax
call fcn.004318d0
lea ecx, [ebp - 0x124]
push ecx
lea edx, [ebp - 0x104]
push edx
call fcn.0047e110
add esp, 0x18
xor eax, eax
cmp byte [ebp - 0x11c], 1
push 1
sete al
cmp dword [0x64123c], 0
lea esi, [eax*4 + 0x15]
push esi
je 0x432e9e
mov ecx, dword [0x41ec330]
push ecx
mov ecx, dword [0x5f483c]
lea edx, [ebp - 0x104]
push edx
call fcn.004a5380
jmp 0x432eb6
mov eax, dword [0x41ec330]
push eax
lea ecx, [ebp - 0x104]
push ecx
mov ecx, dword [0x5f483c]
call fcn.004a4f60
cmp dword [0x5eaaa0], 0
mov dword [ebx*4 + 0x6a42c8], eax
je 0x432eed
mov ecx, dword [0x5f483c]
cmp esi, 0x19
jne 0x432edb
push 0x31545844
mov edx, eax
push edx
jmp 0x432ee8
mov eax, dword [ebx*4 + 0x6a42c8]
push 0x34545844
push eax
call fcn.004a4b60
mov eax, ebx
shl eax, 5
mov dword [ebp - 0x12c], eax
lea eax, [eax + str.HeadMale11]
mov dword [ebp - 0x130], eax
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x432f07
sub eax, ecx
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, dword [ebp - 0x128]
je 0x4331aa
mov eax, dword [edi*4 + 0x1a2e5a8]
xor esi, esi
cmp eax, esi
je 0x432f4e
cmp dword [edi*4 + 0x567fc8], esi
jne 0x4331aa
cmp eax, esi
je 0x432f4e
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [edi*4 + 0x1a2e5a8], esi
mov eax, dword [edi*4 + 0x567fc8]
cmp eax, esi
je 0x432f67
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [edi*4 + 0x567fc8], esi
mov ecx, dword [ebp - 0x130]
push ecx
push 0x525258
lea edx, [ebp - 0x104]
push str._sData_s.cd2
push edx
call fcn.004cce8a
lea eax, [ebp - 0x104]
push 0x4e4714
push eax
call fcn.004cdd4a
mov edi, eax
add esp, 0x18
cmp edi, esi
jne 0x432fd9
mov eax, dword [0x5ec1bc]
add eax, dword [0x1a3ba10]
lea ecx, [ebp - 0x104]
push ecx
push eax
push 0x6a3898
call fcn.004cce8a
push 0x6a3898
call fcn.0040b000
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ccd49
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x12c]
lea esi, [esi + 0x1a7d8c0]
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
push 0x20
mov dword [esi + 0x14], eax
push 1
mov dword [esi + 0x18], eax
push esi
mov dword [esi + 0x1c], eax
call fcn.004cdfab
mov ecx, dword [ebp - 0x12c]
push 0x526a00
lea edx, [ecx + 0x51aa70]
push edx
push str._s._s
push esi
call fcn.004cce8a
add esp, 0x20
push 0x5004
push 0
call ebx
mov ecx, dword [ebp - 0x128]
mov dword [ecx*4 + 0x1a2e5a8], eax
test eax, eax
je 0x43319b
push edi
push 1
push 0x5004
push eax
call fcn.004cdfab
mov edx, dword [ebp - 0x128]
mov eax, dword [edx*4 + 0x1a2e5a8]
mov esi, dword [eax]
imul esi, esi, 0x8c
add esp, 0x10
push esi
push 0
call ebx
mov ecx, dword [ebp - 0x128]
mov dword [ecx*4 + 0x567fc8], eax
test eax, eax
je 0x43319b
push edi
push 1
push esi
push eax
call fcn.004cdfab
mov eax, dword [0x41ec330]
add esp, 0x10
cmp eax, 1
jne 0x43311c
mov esi, dword [ebp - 0x128]
mov eax, dword [esi*4 + 0x1a2e5a8]
xor edx, edx
cmp dword [eax], edx
jle 0x43319b
fld qword [0x4e4620]
xor eax, eax
mov ecx, dword [esi*4 + 0x567fc8]
fld dword [ecx + eax + 0x20]
lea ecx, [ecx + eax + 0x20]
fmul st(1)
inc edx
fstp dword [ecx]
mov ecx, dword [esi*4 + 0x567fc8]
fld dword [ecx + eax + 0x24]
lea ecx, [ecx + eax + 0x24]
fmul st(1)
fstp dword [ecx]
mov ecx, dword [esi*4 + 0x567fc8]
fld dword [ecx + eax + 0x28]
lea ecx, [ecx + eax + 0x28]
fmul st(1)
fstp dword [ecx]
mov ecx, dword [esi*4 + 0x567fc8]
fld dword [ecx + eax + 0x2c]
lea ecx, [ecx + eax + 0x2c]
fmul st(1)
add eax, 0x8c
fstp dword [ecx]
mov ecx, dword [esi*4 + 0x1a2e5a8]
cmp edx, dword [ecx]
jl 0x4330bd
jmp 0x433199
cmp eax, 2
jne 0x43319b
mov esi, dword [ebp - 0x128]
mov eax, dword [esi*4 + 0x1a2e5a8]
xor edx, edx
cmp dword [eax], edx
jle 0x43319b
fld qword [0x4e46c8]
xor eax, eax
mov ecx, dword [esi*4 + 0x567fc8]
fld dword [eax + ecx + 0x20]
lea ecx, [eax + ecx + 0x20]
fmul st(1)
inc edx
fstp dword [ecx]
mov ecx, dword [esi*4 + 0x567fc8]
fld dword [eax + ecx + 0x24]
lea ecx, [eax + ecx + 0x24]
fmul st(1)
fstp dword [ecx]
mov ecx, dword [esi*4 + 0x567fc8]
fld dword [eax + ecx + 0x28]
lea ecx, [eax + ecx + 0x28]
fmul st(1)
fstp dword [ecx]
mov ecx, dword [esi*4 + 0x567fc8]
fld dword [eax + ecx + 0x2c]
lea ecx, [eax + ecx + 0x2c]
fmul st(1)
add eax, 0x8c
fstp dword [ecx]
mov ecx, dword [esi*4 + 0x1a2e5a8]
cmp edx, dword [ecx]
jl 0x43313c
fstp st(0)
push edi
call fcn.004cda49
mov edi, dword [ebp - 0x128]
add esp, 4
cmp dword [edi*4 + 0x5f3398], 0xffffffff
lea ebx, [edi*4 + 0x5f3398]
jne 0x4332fd
mov edx, dword [ebp - 0x12c]
lea edx, [edx + 0x51baf0]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4331d0
sub eax, esi
je 0x4332fd
mov esi, dword [ebp - 0x12c]
push edx
lea esi, [esi + 0x5f0120]
push str._s.txb
push esi
call fcn.004cce8a
push esi
lea edx, [ebp - 0x104]
push str.Char_s
push edx
call fcn.004cce8a
lea eax, [ebp - 0x104]
push eax
call fcn.004318d0
lea ecx, [ebp - 0x124]
push ecx
lea edx, [ebp - 0x104]
push edx
call fcn.0047e110
add esp, 0x24
xor eax, eax
cmp byte [ebp - 0x11c], 1
push 1
sete al
cmp dword [0x64123c], 0
lea esi, [eax*4 + 0x15]
push esi
je 0x433265
mov ecx, dword [0x41ec330]
push ecx
mov ecx, dword [0x5f483c]
lea edx, [ebp - 0x104]
push edx
call fcn.004a5380
jmp 0x43327d
mov eax, dword [0x41ec330]
push eax
lea ecx, [ebp - 0x104]
push ecx
mov ecx, dword [0x5f483c]
call fcn.004a4f60
cmp dword [0x5eaaa0], 0
mov dword [ebx], eax
je 0x4332aa
mov ecx, dword [0x5f483c]
cmp esi, 0x19
jne 0x43329d
push 0x31545844
mov edx, eax
push edx
jmp 0x4332a5
mov eax, dword [ebx]
push 0x34545844
push eax
call fcn.004a4b60
mov eax, dword [ebx]
mov edx, dword [0x5f483c]
mov ecx, dword [edx + eax*4 + 0x11414]
fild dword [edx + eax*4 + 0x11414]
test ecx, ecx
jns 0x4332ca
fadd dword [0x4e4558]
mov ecx, dword [ebp - 0x128]
fstp dword [ecx*4 + 0x641090]
mov edx, dword [edx + eax*4 + 0x11814]
mov dword [ebp - 0x134], edx
fild dword [ebp - 0x134]
test edx, edx
jns 0x4332f4
fadd dword [0x4e4558]
fstp dword [ecx*4 + 0x6a4398]
mov edi, ecx
cmp dword [edi*4 + 0x5e9030], 0xffffffff
lea edi, [edi*4 + 0x5e9030]
jne 0x4333e4
mov edx, dword [ebp - 0x12c]
lea edx, [edx + str.TailMaleColor11]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x433323
sub eax, esi
je 0x4333e4
push edx
lea eax, [ebp - 0x104]
push str.Char_s.txb
push eax
call fcn.004cce8a
lea ecx, [ebp - 0x104]
push ecx
call fcn.004318d0
lea edx, [ebp - 0x124]
push edx
lea eax, [ebp - 0x104]
push eax
call fcn.0047e110
add esp, 0x18
xor ecx, ecx
cmp byte [ebp - 0x11c], 1
push 1
sete cl
cmp dword [0x64123c], 0
lea esi, [ecx*4 + 0x15]
push esi
je 0x4333a0
mov edx, dword [0x41ec330]
mov ecx, dword [0x5f483c]
push edx
lea eax, [ebp - 0x104]
push eax
call fcn.004a5380
jmp 0x4333b9
mov ecx, dword [0x41ec330]
push ecx
mov ecx, dword [0x5f483c]
lea edx, [ebp - 0x104]
push edx
call fcn.004a4f60
cmp dword [0x5eaaa0], 0
mov dword [edi], eax
je 0x4333e4
cmp esi, 0x19
jne 0x4333d1
push 0x31545844
push eax
jmp 0x4333d9
mov ecx, dword [edi]
push 0x34545844
push ecx
mov ecx, dword [0x5f483c]
call fcn.004a4b60
mov edi, dword [ebp - 0x12c]
lea edi, [edi + str.TailMale11]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4333f5
sub eax, edx
je 0x433659
mov ebx, dword [ebp - 0x128]
mov eax, dword [ebx*4 + 0x6338d0]
lea ebx, [ebx*4 + 0x6338d0]
test eax, eax
je 0x433441
mov edx, dword [ebp - 0x128]
cmp dword [edx*4 + 0x41ec248], 0
jne 0x433659
test eax, eax
je 0x433441
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebx], 0
mov esi, dword [ebp - 0x128]
mov eax, dword [esi*4 + 0x41ec248]
lea esi, [esi*4 + 0x41ec248]
test eax, eax
je 0x433466
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi], 0
push edi
push 0x525258
lea eax, [ebp - 0x104]
push str._sData_s.cd8
push eax
call fcn.004cce8a
lea ecx, [ebp - 0x104]
push 0x4e4714
push ecx
call fcn.004cdd4a
add esp, 0x18
mov dword [ebp - 0x128], eax
test eax, eax
jne 0x4334d7
mov ecx, dword [0x5ec1bc]
add ecx, dword [0x1a3ba10]
lea edx, [ebp - 0x104]
push edx
push ecx
push 0x6a3898
call fcn.004cce8a
push 0x6a3898
call fcn.0040b000
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ccd49
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x12c]
mov edx, dword [ebp - 0x128]
lea edi, [edi + 0x5f0120]
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
push edx
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
push 0x20
mov dword [edi + 0x14], eax
push 1
mov dword [edi + 0x18], eax
push edi
mov dword [edi + 0x1c], eax
call fcn.004cdfab
mov eax, dword [ebp - 0x12c]
push 0x526a00
lea ecx, [eax + 0x51baf0]
push ecx
push str._s._s
push edi
call fcn.004cce8a
add esp, 0x20
push 0x5004
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebx], eax
test eax, eax
je 0x43364a
mov edx, dword [ebp - 0x128]
push edx
push 1
push 0x5004
push eax
call fcn.004cdfab
mov eax, dword [ebx]
mov edi, dword [eax]
imul edi, edi, 0x8c
add esp, 0x10
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi], eax
test eax, eax
je 0x43364a
mov ecx, dword [ebp - 0x128]
push ecx
push 1
push edi
push eax
call fcn.004cdfab
mov eax, dword [0x41ec330]
add esp, 0x10
cmp eax, 1
jne 0x4335ef
mov eax, dword [ebx]
xor edx, edx
cmp dword [eax], edx
jle 0x43364a
fld qword [0x4e4620]
xor eax, eax
mov ecx, dword [esi]
fld dword [ecx + eax + 0x20]
lea ecx, [ecx + eax + 0x20]
fmul st(1)
inc edx
fstp dword [ecx]
mov ecx, dword [esi]
fld dword [ecx + eax + 0x24]
lea ecx, [ecx + eax + 0x24]
fmul st(1)
fstp dword [ecx]
mov ecx, dword [esi]
fld dword [ecx + eax + 0x28]
lea ecx, [ecx + eax + 0x28]
fmul st(1)
fstp dword [ecx]
mov ecx, dword [esi]
fld dword [ecx + eax + 0x2c]
lea ecx, [ecx + eax + 0x2c]
fmul st(1)
add eax, 0x8c
fstp dword [ecx]
mov ecx, dword [ebx]
cmp edx, dword [ecx]
jl 0x4335a9
jmp 0x433648
cmp eax, 2
jne 0x43364a
mov eax, dword [ebx]
xor edx, edx
cmp dword [eax], edx
jle 0x43364a
fld qword [0x4e46c8]
xor eax, eax
mov ecx, dword [esi]
fld dword [ecx + eax + 0x20]
lea ecx, [ecx + eax + 0x20]
fmul st(1)
inc edx
fstp dword [ecx]
mov ecx, dword [esi]
fld dword [ecx + eax + 0x24]
lea ecx, [ecx + eax + 0x24]
fmul st(1)
fstp dword [ecx]
mov ecx, dword [esi]
fld dword [ecx + eax + 0x28]
lea ecx, [ecx + eax + 0x28]
fmul st(1)
fstp dword [ecx]
mov ecx, dword [esi]
fld dword [ecx + eax + 0x2c]
lea ecx, [ecx + eax + 0x2c]
fmul st(1)
add eax, 0x8c
fstp dword [ecx]
mov ecx, dword [ebx]
cmp edx, dword [ecx]
jl 0x433604
fstp st(0)
mov edx, dword [ebp - 0x128]
push edx
call fcn.004cda49
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004ccd49
mov esp, ebp
pop ebp
ret