Function at 0x9f1525
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push edi
lea edi, [ebp - 0xc8]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x68]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x64]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x84], 0
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.009c96e6
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x9f1595
lea eax, [ebp - 0xc]
push eax
push 0xb39940
mov ecx, dword [ebp - 4]
push ecx
call fcn.009ca739
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x9f159a
jmp 0x9f1fb5
mov dword [ebp - 0x10], 2
mov edx, dword [ebp - 0xc]
and edx, 0xffff
cmp edx, 0x5a4d
jne 0x9f1fa3
cmp dword [0xdc2bac], 2
jl 0x9f15cc
push str.MZ_signature_found_n
call fcn.009cce90
add esp, 4
xor eax, eax
test eax, eax
jne 0x9f15b6
mov ecx, dword [ebp - 0xa]
and ecx, 0xffff
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.009c96e6
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x9f160f
lea eax, [ebp - 0x18]
push eax
push 0xb39954
mov ecx, dword [ebp - 4]
push ecx
call fcn.009ca739
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x9f1614
jmp 0x9f1fb5
mov dword [ebp - 0x10], 2
mov edx, dword [ebp - 0x18]
and edx, 0xffff
cmp edx, 0x454e
jne 0x9f18e8
mov eax, dword [ebp - 0xa]
and eax, 0xffff
mov ecx, dword [ebp - 0x16]
and ecx, 0xffff
add eax, ecx
mov dword [ebp - 0x28], eax
mov word [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
cmp dword [0xdc2bac], 2
jl 0x9f1669
push str.NE_signature_found_n
call fcn.009cce90
add esp, 4
xor edx, edx
test edx, edx
jne 0x9f1653
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.009c96e6
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x9f16b1
mov edx, dword [ebp - 0x14]
and edx, 0xffff
mov eax, dword [ebp - 0x16]
and eax, 0xffff
sub edx, eax
push edx
mov ecx, dword [ebp - 4]
push ecx
call fcn.009c9a32
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x9f16b6
jmp 0x9f1fb5
mov edx, dword [ebp - 4]
push edx
call fcn.009c9d8a
add esp, 4
mov word [ebp - 0x20], ax
mov eax, dword [ebp - 4]
push eax
call fcn.009c9d8a
add esp, 4
mov word [ebp - 0x30], ax
mov ecx, dword [ebp - 0x30]
and ecx, 0xffff
test ecx, ecx
jne 0x9f16e5
jmp 0x9f174d
mov edx, dword [ebp - 4]
push edx
call fcn.009c9d8a
add esp, 4
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x30]
and eax, 0xffff
cmp eax, 0x8008
jne 0x9f172d
mov cx, word [ebp - 0x2c]
mov word [ebp - 0x24], cx
mov edx, dword [ebp - 4]
push edx
call fcn.009c97ac
add esp, 4
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [ecx + 0x20]
sub ecx, dword [edx + 0x24]
lea edx, [eax + ecx + 4]
mov dword [ebp - 0x1c], edx
jmp 0x9f174d
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
imul eax, eax, 0xc
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
lea eax, [edx + eax + 4]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x20], eax
jmp 0x9f16c6
mov edx, dword [ebp - 4]
push edx
call fcn.009c9bfa
add esp, 4
mov eax, dword [ebp - 0x24]
and eax, 0xffff
test eax, eax
je 0x9f176b
cmp dword [ebp - 0x1c], 0
jne 0x9f1793
cmp dword [0xdc2bac], 2
jl 0x9f1781
push str.this_file_doesnt_contain_any_FNT_resources__n
call fcn.009cce90
add esp, 4
xor ecx, ecx
test ecx, ecx
jne 0x9f176b
mov dword [ebp - 0x10], 3
jmp 0x9f1fb5
mov edx, dword [ebp - 0x24]
and edx, 0xffff
imul edx, edx, 0x76
mov eax, dword [ebp - 4]
cmp edx, dword [eax + 4]
jbe 0x9f17cf
cmp dword [0xdc2bac], 2
jl 0x9f17bd
push str.invalid_number_of_faces_n
call fcn.009cce90
add esp, 4
xor ecx, ecx
test ecx, ecx
jne 0x9f17a7
mov dword [ebp - 0x10], 3
jmp 0x9f1fb5
mov edx, dword [ebp - 0x24]
and edx, 0xffff
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp - 0x24]
and ecx, 0xffff
cmp dword [ebp + 0xc], ecx
jl 0x9f17f7
mov dword [ebp - 0x10], 0x84
jmp 0x9f1fb5
lea edx, [ebp - 0x10]
push edx
push 0xac
mov eax, dword [ebp - 8]
push eax
call fcn.009cb48e
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x84], eax
cmp dword [ebp - 0x10], 0
je 0x9f1820
jmp 0x9f1fb5
mov edx, dword [ebp + 0xc]
imul edx, edx, 0xc
mov eax, dword [ebp - 0x1c]
add eax, edx
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.009c96e6
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x9f1858
push 0xc
mov edx, dword [ebp - 4]
push edx
call fcn.009c9a32
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x9f185d
jmp 0x9f1fa3
mov eax, dword [ebp - 4]
push eax
call fcn.009c9d8a
add esp, 4
and eax, 0xffff
mov ecx, dword [ebp - 0x20]
and ecx, 0xffff
shl eax, cl
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x84]
mov dword [edx], eax
mov eax, dword [ebp - 4]
push eax
call fcn.009c9d8a
add esp, 4
and eax, 0xffff
mov ecx, dword [ebp - 0x20]
and ecx, 0xffff
shl eax, cl
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x84]
mov dword [edx + 0xa4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x20]
add ecx, 8
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], ecx
mov eax, dword [ebp - 4]
push eax
call fcn.009c9bfa
add esp, 4
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x84]
push eax
call fcn.009f1353
add esp, 8
mov dword [ebp - 0x10], eax
jmp 0x9f1f63
mov ecx, dword [ebp - 0x18]
and ecx, 0xffff
cmp ecx, 0x4550
jne 0x9f1f63
cmp dword [0xdc2bac], 2
jl 0x9f1913
push str.PE_signature_found_n
call fcn.009cce90
add esp, 4
xor edx, edx
test edx, edx
jne 0x9f18fd
mov eax, dword [ebp - 0xa]
and eax, 0xffff
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.009c96e6
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x9f1955
lea edx, [ebp - 0x78]
push edx
push 0xb3996c
mov eax, dword [ebp - 4]
push eax
call fcn.009ca739
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x9f195a
jmp 0x9f1fb5
cmp dword [0xdc2bac], 2
jl 0x9f19a2
mov ecx, dword [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
mov eax, dword [ebp - 0x6e]
and eax, 0xffff
push eax
mov ecx, dword [ebp - 0x70]
and ecx, 0xffff
push ecx
mov edx, dword [ebp - 0x72]
and edx, 0xffff
push edx
mov eax, dword [ebp - 0x74]
and eax, 0xffff
push eax
mov ecx, dword [ebp - 0x78]
push ecx
push str.magic__04lx__machine__02x__number_of_sections__u__size_of_optional_header__02x_nmagic32__02x__rsrc_virtual_address__04lx__rsrc_size__04lx_n
call fcn.009cce90
add esp, 0x20
xor edx, edx
test edx, edx
jne 0x9f195a
cmp dword [ebp - 0x78], 0x4550
jne 0x9f19e2
mov eax, dword [ebp - 0x74]
and eax, 0xffff
cmp eax, 0x14c
jne 0x9f19e2
mov ecx, dword [ebp - 0x70]
and ecx, 0xffff
cmp ecx, 0xe0
jne 0x9f19e2
mov edx, dword [ebp - 0x6e]
and edx, 0xffff
cmp edx, 0x10b
je 0x9f1a0a
cmp dword [0xdc2bac], 2
jl 0x9f19f8
push str.this_file_has_an_invalid_PE_header_n
call fcn.009cce90
add esp, 4
xor eax, eax
test eax, eax
jne 0x9f19e2
mov dword [ebp - 0x10], 3
jmp 0x9f1fb5
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
mov word [ebp - 0x88], 0
jmp 0x9f1a30
mov dx, word [ebp - 0x88]
add dx, 1
mov word [ebp - 0x88], dx
mov eax, dword [ebp - 0x88]
and eax, 0xffff
mov ecx, dword [ebp - 0x72]
and ecx, 0xffff
cmp eax, ecx
jge 0x9f1aa6
lea edx, [ebp - 0x4c]
push edx
push 0xb399a0
mov eax, dword [ebp - 4]
push eax
call fcn.009ca739
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x9f1a6b
jmp 0x9f1fb5
cmp dword [0xdc2bac], 2
jl 0x9f1a91
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0x4c]
push ecx
push str.name__.8s__va__04lx__size__04lx__offset__04lx_n
call fcn.009cce90
add esp, 0x14
xor edx, edx
test edx, edx
jne 0x9f1a6b
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x44]
jne 0x9f1aa1
jmp 0x9f1ace
jmp 0x9f1a1e
cmp dword [0xdc2bac], 2
jl 0x9f1abc
push str.this_file_doesnt_contain_any_resources_n
call fcn.009cce90
add esp, 4
xor ecx, ecx
test ecx, ecx
jne 0x9f1aa6
mov dword [ebp - 0x10], 3
jmp 0x9f1fb5
cmp dword [0xdc2bac], 2
jl 0x9f1ae8
lea edx, [ebp - 0x4c]
push edx
push str.found_resources_section__.8s_n
call fcn.009cce90
add esp, 8
xor eax, eax
test eax, eax
jne 0x9f1ace
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.009c96e6
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x9f1b28
lea eax, [ebp - 0xc8]
push eax
push 0xb399c0
mov ecx, dword [ebp - 4]
push ecx
call fcn.009ca739
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x9f1b2d
jmp 0x9f1fb5
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x84], edx
mov word [ebp - 0x88], 0
jmp 0x9f1b53
mov ax, word [ebp - 0x88]
add ax, 1
mov word [ebp - 0x88], ax
mov ecx, dword [ebp - 0x88]
and ecx, 0xffff
mov edx, dword [ebp - 0xbc]
and edx, 0xffff
mov eax, dword [ebp - 0xba]
and eax, 0xffff
add edx, eax
cmp ecx, edx
jge 0x9f1f63
mov ecx, dword [ebp - 0x88]
and ecx, 0xffff
mov edx, dword [ebp - 0x84]
lea eax, [edx + ecx*8 + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.009c96e6
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x9f1bca
lea edx, [ebp - 0x38]
push edx
push 0xb399e0
mov eax, dword [ebp - 4]
push eax
call fcn.009ca739
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x9f1bcf
jmp 0x9f1fb5
mov ecx, dword [ebp - 0x34]
and ecx, 0x80000000
test ecx, ecx
jne 0x9f1be8
mov dword [ebp - 0x10], 3
jmp 0x9f1fb5
mov edx, dword [ebp - 0x34]
and edx, 0x7fffffff
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0x3c]
add ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.009c96e6
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x9f1c3a
lea eax, [ebp - 0x64]
push eax
push 0xb399c0
mov ecx, dword [ebp - 4]
push ecx
call fcn.009ca739
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x9f1c3f
jmp 0x9f1fb5
mov word [ebp - 0x8c], 0
jmp 0x9f1c5c
mov dx, word [ebp - 0x8c]
add dx, 1
mov word [ebp - 0x8c], dx
mov eax, dword [ebp - 0x8c]
and eax, 0xffff
mov ecx, dword [ebp - 0x58]
and ecx, 0xffff
mov edx, dword [ebp - 0x56]
and edx, 0xffff
add ecx, edx
cmp eax, ecx
jge 0x9f1f5e
mov eax, dword [ebp - 0x8c]
and eax, 0xffff
mov ecx, dword [ebp - 0xa4]
lea edx, [ecx + eax*8 + 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.009c96e6
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x9f1ccc
lea ecx, [ebp - 0x54]
push ecx
push 0xb399e0
mov edx, dword [ebp - 4]
push edx
call fcn.009ca739
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x9f1cd1
jmp 0x9f1fb5
mov eax, dword [ebp - 0x50]
and eax, 0x80000000
test eax, eax
jne 0x9f1ce9
mov dword [ebp - 0x10], 3
jmp 0x9f1fb5
mov ecx, dword [ebp - 0x50]
and ecx, 0x7fffffff
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x3c]
add edx, dword [ebp - 0x50]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.009c96e6
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x9f1d3e
lea edx, [ebp - 0x9c]
push edx
push 0xb399c0
mov eax, dword [ebp - 4]
push eax
call fcn.009ca739
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x9f1d43
jmp 0x9f1fb5
mov word [ebp - 0xa0], 0
jmp 0x9f1d60
mov cx, word [ebp - 0xa0]
add cx, 1
mov word [ebp - 0xa0], cx
mov edx, dword [ebp - 0xa0]
and edx, 0xffff
mov eax, dword [ebp - 0x90]
and eax, 0xffff
mov ecx, dword [ebp - 0x8e]
and ecx, 0xffff
add eax, ecx
cmp edx, eax
jge 0x9f1f59
mov edx, dword [ebp - 0xa0]
and edx, 0xffff
mov eax, dword [ebp - 0xa8]
lea ecx, [eax + edx*8 + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.009c96e6
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x9f1dd7
lea eax, [ebp - 0x80]
push eax
push 0xb399e0
mov ecx, dword [ebp - 4]
push ecx
call fcn.009ca739
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x9f1ddc
jmp 0x9f1fb5
mov edx, dword [ebp - 0x50]
and edx, 0x80000000
test edx, edx
je 0x9f1df5
mov dword [ebp - 0x10], 3
jmp 0x9f1fb5
cmp dword [ebp - 0x38], 8
jne 0x9f1f54
mov eax, dword [ebp - 0x84]
add eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.009c96e6
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x9f1e3f
lea edx, [ebp - 0xb8]
push edx
push 0xb399f0
mov eax, dword [ebp - 4]
push eax
call fcn.009ca739
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x9f1e44
jmp 0x9f1fb5
cmp dword [0xdc2bac], 2
jl 0x9f1e79
mov ecx, dword [ebp - 0xb0]
push ecx
mov edx, dword [ebp - 0xb4]
push edx
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0xb8]
sub eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
push str.found_font__lu__offset__04lx__size__04lx__cp__lu_n
call fcn.009cce90
add esp, 0x14
xor edx, edx
test edx, edx
jne 0x9f1e44
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax]
jne 0x9f1f47
lea edx, [ebp - 0x10]
push edx
push 0xac
mov eax, dword [ebp - 8]
push eax
call fcn.009cb48e
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x84], eax
cmp dword [ebp - 0x10], 0
je 0x9f1eb6
jmp 0x9f1fb5
mov edx, dword [ebp - 0x3c]
add edx, dword [ebp - 0xb8]
sub edx, dword [ebp - 0x44]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x84]
mov dword [ecx], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x84]
mov ecx, dword [ebp - 0xb4]
mov dword [eax + 0xa4], ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x84]
push ecx
call fcn.009f1353
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x9f1f27
cmp dword [0xdc2bac], 2
jl 0x9f1f1f
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x54]
push eax
push str.font__lu_load_error__d_n
call fcn.009cce90
add esp, 0xc
xor ecx, ecx
test ecx, ecx
jne 0x9f1f01
jmp 0x9f1fa3
cmp dword [0xdc2bac], 2
jl 0x9f1f41
mov edx, dword [ebp - 0x54]
push edx
push str.font__lu_successfully_loaded_n
call fcn.009cce90
add esp, 8
xor eax, eax
test eax, eax
jne 0x9f1f27
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax], edx
jmp 0x9f1d4e
jmp 0x9f1c4a
jmp 0x9f1b41
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
jne 0x9f1f90
cmp dword [0xdc2bac], 2
jl 0x9f1f81
push str.this_file_doesnt_contain_any_RT_FONT_resources_n
call fcn.009cce90
add esp, 4
xor edx, edx
test edx, edx
jne 0x9f1f6b
mov dword [ebp - 0x10], 3
jmp 0x9f1fb5
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax]
jl 0x9f1fa3
mov dword [ebp - 0x10], 0x84
jmp 0x9f1fb5
cmp dword [ebp - 0x10], 0
je 0x9f1fb5
mov edx, dword [ebp + 8]
push edx
call fcn.009f0dd9
add esp, 4
mov eax, dword [ebp - 0x10]
pop edi
add esp, 0xc8
cmp ebp, esp
call fcn.00a334d7
mov esp, ebp
pop ebp
ret