Function at 0x40bb20
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x288
push esi
push edi
lea edi, [ebp - 0x288]
mov ecx, 0xa2
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x48443c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x244], 0x38
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x24c], 0
mov esi, esp
push str._nfreetype_started
call dword [sym.imp.MSVCR90D.dll_printf]
add esp, 4
cmp esi, esp
call fcn.0047a500
mov dword [0x48b4cc], 0
push 0x48b4b8
call fcn.0040102d
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x40bbd9
mov esi, esp
push 0x2d2
push 0x483250
push 0x483298
call dword [sym.imp.MSVCR90D.dll__wassert]
add esp, 0xc
cmp esi, esp
call fcn.0047a500
mov dword [0x48b4e8], 0
mov dword [0x48b4e4], 0
mov dword [0x48b4ec], 0
lea ecx, [ebp - 0x254]
push ecx
call fcn.0040102d
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x40bc30
mov esi, esp
push 0x2df
push 0x4832a8
push 0x4832f0
call dword [sym.imp.MSVCR90D.dll__wassert]
add esp, 0xc
cmp esi, esp
call fcn.0047a500
mov eax, dword [ebp - 0x254]
mov ecx, dword [eax]
mov dword [ecx + 4], fcn.0040112c
mov edx, dword [ebp - 0x254]
mov eax, dword [edx]
mov dword [eax + 0xc], 0x401582
mov ecx, dword [ebp - 0x254]
mov edx, dword [ecx]
mov dword [edx + 8], fcn.00401492
push 0x48b4bc
push 0
push 0x4011f9
push 0x5000
push 0x10
push 0x10
mov eax, dword [ebp - 0x254]
push eax
call fcn.004015c3
add esp, 0x1c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x40bcab
mov esi, esp
push 0x2e5
push 0x483300
push 0x483348
call dword [sym.imp.MSVCR90D.dll__wassert]
add esp, 0xc
cmp esi, esp
call fcn.0047a500
push 0x48b4c4
mov edx, dword [0x48b4bc]
push edx
call fcn.00401528
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x40bce9
mov esi, esp
push 0x2e7
push 0x483358
push 0x4833a0
call dword [sym.imp.MSVCR90D.dll__wassert]
add esp, 0xc
cmp esi, esp
call fcn.0047a500
push 0x48b4c0
mov ecx, dword [0x48b4bc]
push ecx
call fcn.00401037
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x40bd27
mov esi, esp
push 0x2e9
push str......._adaptation_freetype_main.c
push str._error
call dword [sym.imp.MSVCR90D.dll__wassert]
add esp, 0xc
cmp esi, esp
call fcn.0047a500
mov byte [0x48b4e0], 1
mov esi, esp
push str._nIntialized_freetype
call dword [sym.imp.MSVCR90D.dll_printf]
add esp, 4
cmp esi, esp
call fcn.0047a500
mov esi, esp
push 0x483420
push str.ttf_list.txt
call dword [sym.imp.MSVCR90D.dll_fopen]
add esp, 8
cmp esi, esp
call fcn.0047a500
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x40c108
mov esi, esp
mov eax, dword [ebp - 0x30]
push eax
push 0x100
lea ecx, [ebp - 0x134]
push ecx
call dword [sym.imp.MSVCR90D.dll_fgets]
add esp, 0xc
cmp esi, esp
call fcn.0047a500
test eax, eax
je 0x40c0e6
mov edx, 1
test edx, edx
je 0x40be15
mov eax, dword [ebp - 0x20]
movsx ecx, byte [ebp + eax - 0x134]
cmp ecx, 0x2e
jne 0x40bdfb
mov edx, dword [ebp - 0x20]
movsx eax, byte [ebp + edx - 0x133]
cmp eax, 0x74
jne 0x40bdea
mov ecx, dword [ebp - 0x20]
movsx edx, byte [ebp + ecx - 0x132]
cmp edx, 0x74
jne 0x40bdea
mov eax, dword [ebp - 0x20]
movsx ecx, byte [ebp + eax - 0x131]
cmp ecx, 0x66
jne 0x40bdea
mov dword [ebp - 0x20], 0
jmp 0x40be15
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 7
jne 0x40bdfb
jmp 0x40be15
cmp dword [ebp - 0x20], 0x64
jne 0x40be0a
mov dword [ebp - 0x20], 0
jmp 0x40be15
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
jmp 0x40bd98
mov byte [ebp - 0x23c], 0x2e
mov byte [ebp - 0x23b], 0x5c
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], 2
jmp 0x40be44
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x28], 0xff
jae 0x40beb7
mov ecx, dword [ebp - 0x28]
movsx edx, byte [ebp + ecx - 0x134]
cmp edx, 0xa
jne 0x40be5f
jmp 0x40beb7
mov eax, dword [ebp - 0x28]
movsx ecx, byte [ebp + eax - 0x134]
cmp ecx, 0x5c
jne 0x40be9e
mov edx, dword [ebp - 0x28]
movsx eax, byte [ebp + edx - 0x133]
cmp eax, 0x5c
jne 0x40be9e
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov al, byte [ebp + edx - 0x134]
mov byte [ebp + ecx - 0x23c], al
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
jmp 0x40be32
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov cl, byte [ebp + eax - 0x134]
mov byte [ebp + edx - 0x23c], cl
jmp 0x40be32
mov edx, dword [ebp - 0x2c]
mov byte [ebp + edx - 0x23c], 0
mov eax, dword [ebp - 0x2c]
mov byte [ebp + eax - 0x23b], 0
mov esi, esp
lea ecx, [ebp - 0x23c]
push ecx
push str._nTTF_name_extraced:__s
call dword [sym.imp.MSVCR90D.dll_printf]
add esp, 8
cmp esi, esp
call fcn.0047a500
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x23c]
push eax
call fcn.0040b970
add esp, 8
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0
jne 0x40bf12
jmp 0x40c0b6
push 0x1f4
lea ecx, [ebp - 0x23c]
push ecx
push 0x8e2fc0
call sub.MSVCR90D.dll_memcpy
add esp, 0xc
mov esi, esp
push str._nTTF_file_opened
call dword [sym.imp.MSVCR90D.dll_printf]
add esp, 4
cmp esi, esp
call fcn.0047a500
mov edx, dword [ebp - 0x248]
lea eax, [edx*2 + 0x8e2f60]
push eax
mov ecx, dword [ebp - 0x248]
imul ecx, ecx, 0x278
add ecx, 0x4845a0
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x25c]
push eax
movzx ecx, word [ebp - 0x244]
push ecx
call fcn.0040c240
add esp, 0x14
push 0x200
lea edx, [ebp - 0x23c]
push edx
mov eax, dword [ebp - 0x248]
imul eax, eax, 0x278
add eax, 0x484618
push eax
call sub.MSVCR90D.dll_memcpy
add esp, 0xc
call fcn.0040c380
push 0x41
mov ecx, dword [0x48b4d0]
push ecx
movzx edx, byte [0x48b4e1]
imul edx, edx, 0x278
movzx eax, word [edx + 0x4845a0]
push eax
mov ecx, dword [0x48b4c4]
push ecx
call fcn.004015d2
add esp, 0x10
push 0x48b4ec
push 0x48b4e4
push 0x48b4e8
call fcn.0040c980
add esp, 0xc
mov edx, dword [0x48b4f0]
add edx, 1
mov dword [0x48b4f0], edx
mov eax, dword [ebp - 0x244]
add eax, 1
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x248]
add ecx, 1
mov dword [ebp - 0x248], ecx
mov esi, esp
push str._nFreetype__OT_memory_initialized_for_current_TTF
call dword [sym.imp.MSVCR90D.dll_printf]
add esp, 4
cmp esi, esp
call fcn.0047a500
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov edx, dword [0x48b4d4]
cmp edx, dword [0x48b4f4]
jle 0x40c057
mov eax, dword [0x48b4d4]
mov dword [0x48b4f4], eax
mov ecx, dword [0x48b4dc]
cmp ecx, dword [0x48b4f8]
jle 0x40c071
mov edx, dword [0x48b4dc]
mov dword [0x48b4f8], edx
mov eax, dword [0x48b4d8]
cmp eax, dword [0x48b4fc]
jle 0x40c08a
mov ecx, dword [0x48b4d8]
mov dword [0x48b4fc], ecx
mov dword [0x48b4d4], 0
mov dword [0x48b4dc], 0
mov dword [0x48b4d8], 0
mov dl, byte [ebp - 0x248]
mov byte [0x48b4e1], dl
jmp 0x40c0d7
mov esi, esp
push str._nUnable_to_open_current_TTF
call dword [sym.imp.MSVCR90D.dll_printf]
add esp, 4
cmp esi, esp
call fcn.0047a500
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x24c], 0
jmp 0x40bd6e
mov dword [ebp - 0x248], 0
mov esi, esp
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.MSVCR90D.dll_fclose]
add esp, 4
cmp esi, esp
call fcn.0047a500
jmp 0x40c136
mov esi, esp
push str._nFreetype_error__unable_to_open_TTF_file_list_n
call dword [sym.imp.MSVCR90D.dll_printf]
add esp, 4
cmp esi, esp
call fcn.0047a500
mov esi, esp
push str.ttf_list.txt
call dword [sym.imp.MSVCR90D.dll_perror]
add esp, 4
cmp esi, esp
call fcn.0047a500
mov byte [0x483010], 0xff
mov ecx, dword [0x48b4b8]
push ecx
call fcn.004015a5
add esp, 4
mov esi, esp
push str._nfreetype_closed
call dword [sym.imp.MSVCR90D.dll_printf]
add esp, 4
cmp esi, esp
call fcn.0047a500
mov edx, dword [0x48b4fc]
push edx
mov eax, dword [0x48b4f4]
push eax
call fcn.0040c440
add esp, 8
mov esi, esp
push str._nfreetype_ended
call dword [sym.imp.MSVCR90D.dll_printf]
add esp, 4
cmp esi, esp
call fcn.0047a500
mov esi, esp
push 0
call dword [sym.imp.MSVCR90D.dll_exit]
cmp esi, esp
call fcn.0047a500
push edx
mov ecx, ebp
push eax
lea edx, [0x40c1d0]
call fcn.0047a530
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047a6f0
add esp, 0x288
cmp ebp, esp
call fcn.0047a500
mov esp, ebp
pop ebp
ret