Function at 0x45f359
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
lea ebp, [esp - 0x248]
sub esp, 0x248
push 0xffffffffffffffff
push 0x53f109
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x58313c]
xor eax, ebp
mov dword [ebp + 0x244], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x250]
lea ecx, [ebp - 0x7c]
mov ebx, dword [ebp + 0x254]
mov dword [ebp - 0x58], edi
push 0x100
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], 0
call fcn.0040cf90
push ebx
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], 1
push eax
call fcn.0040fab0
mov dword [edi], 0
cmp dword [ebp - 0x60], 0x10
mov dword [ebp - 0x2c], 1
jbe 0x45f8dd
push 0x70
lea eax, [ebp + 0x1c4]
push 0
push eax
call fcn.005153c0
lea eax, [ebp + 0x1b0]
mov dword [ebp + 0x1b0], 0x467120
push 0x1b0
mov dword [ebp], eax
lea eax, [ebp]
push 0x3e
push eax
mov dword [ebp + 0x1b4], fcn.0040f200
mov dword [ebp + 0x1b8], fcn.0040f200
mov dword [ebp + 0x1bc], fcn.0040f200
mov dword [ebp + 0x1c0], fcn.0040f200
call fcn.00475c60
mov eax, dword [ebp + 4]
lea ecx, [ebp]
push 0x1c
push 0
push ecx
mov eax, dword [eax]
call eax
mov dword [ebp + 0x18], eax
lea ecx, [ebp - 0xd]
mov dword [ebp + 0xc], ecx
add esp, 0x24
mov byte [ebp - 0xd], 0
lea ecx, [ebp - 0x7c]
mov dword [eax + 8], fcn.0040f200
mov eax, dword [ebp + 0x18]
mov dword [eax + 0xc], method.juce::Typeface.virtual_36
mov eax, dword [ebp + 0x18]
mov dword [eax + 0x10], 0x475bf0
mov eax, dword [ebp + 0x18]
mov dword [eax + 0x14], 0x47b870
mov eax, dword [ebp + 0x18]
mov dword [eax + 0x18], fcn.0040f200
call fcn.0041af10
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x60]
mov dword [eax + 4], ecx
mov eax, dword [ebp + 0x14]
cmp eax, 0xc8
je 0x45f2e4
cmp eax, 0xc9
je 0x45f2e4
mov eax, dword [ebp]
mov dword [eax + 0x14], 0x14
mov ecx, dword [ebp]
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp]
mov eax, dword [eax]
cmp eax, 0x467120
jne 0x45f2d8
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
jmp 0x45f2e1
lea ecx, [ebp]
push ecx
call eax
add esp, 4
mov eax, dword [ebp + 0x14]
add eax, 0xffffff38
cmp eax, 0xa
ja case.0x45f2f9.209
movzx eax, byte [eax + 0x45f920]
jmp dword [eax*4 + 0x45f90c]
mov eax, dword [ebp + 0x190]
lea ecx, [ebp]
push ecx
mov eax, dword [eax + 4]
call eax
mov eax, dword [ebp + 0x18]
add esp, 4
mov eax, dword [eax + 8]
cmp eax, fcn.0040f200
je 0x45f328
lea ecx, [ebp]
push ecx
call eax
add esp, 4
mov dword [ebp + 0x14], 0xc9
mov eax, dword [ebp + 0x190]
lea ecx, [ebp]
push ecx
mov eax, dword [eax]
call eax
mov esi, eax
add esp, 4
cmp esi, 1
jne 0x45f36c
lea eax, [ebp]
push eax
call fcn.00461180
mov dword [ebp + 0x14], 0xca
jmp 0x45f369
mov eax, dword [ebp + 0x190]
lea ecx, [ebp]
push ecx
mov eax, dword [eax]
call eax
mov esi, eax
add esp, 4
sub esi, 1
je case.0x45f2f9.202
sub esi, 1
jne case.0x45f2f9.202
mov eax, dword [ebp]
mov dword [eax + 0x14], 0x33
mov eax, dword [ebp]
mov eax, dword [eax]
cmp eax, 0x467120
jne 0x45f39c
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
jmp 0x45f3a5
lea ecx, [ebp]
push ecx
call eax
add esp, 4
mov ecx, dword [ebp + 4]
test ecx, ecx
je case.0x45f2f9.202
mov eax, dword [ecx + 0x24]
lea ecx, [ebp]
push 1
push ecx
call eax
add esp, 8
cmp byte [ebp + 0x10], 0
je 0x45f3d3
mov dword [ebp + 0x14], 0xc8
mov dword [ebp + 0x10c], 0
jmp case.0x45f2f9.202
mov dword [ebp + 0x14], 0x64
jmp case.0x45f2f9.202
mov eax, dword [ebp]
mov dword [eax + 0x14], 0x14
mov ecx, dword [ebp]
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp]
mov eax, dword [eax]
cmp eax, 0x467120
jne 0x45f403
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
jmp case.0x45f2f9.202
lea ecx, [ebp]
push ecx
call eax
add esp, 4
cmp byte [ebp - 0xd], 0
jne 0x45f8ca
lea eax, [ebp]
push eax
call fcn.00475f60
add esp, 4
cmp byte [ebp - 0xd], 0
jne 0x45f8ca
mov eax, dword [ebp + 4]
mov esi, dword [ebp + 0x5c]
mov ebx, dword [ebp + 0x60]
mov dword [ebp + 0x2c], 2
mov ecx, dword [eax + 8]
push 1
lea eax, [esi + esi*2]
mov dword [ebp - 0x30], esi
push eax
lea eax, [ebp]
mov dword [ebp - 0x24], ebx
push 1
push eax
call ecx
mov ecx, dword [ebp + 0x14]
add esp, 0x10
mov dword [ebp - 0x1c], eax
cmp ecx, 0xca
jne 0x45f4b1
mov eax, dword [ebp + 4]
push 0x1c
push 1
mov ecx, dword [eax]
lea eax, [ebp]
push eax
call ecx
mov dword [ebp + 0x180], eax
mov dword [eax], 0x493fb0
mov dword [eax + 4], 0x469e10
mov byte [eax + 8], 0
lea eax, [ebp]
push eax
call fcn.0047cf30
add esp, 0x10
cmp byte [ebp + 0x40], 0
je 0x45f4a8
mov dword [ebp + 0x14], 0xcf
jmp 0x45f57a
mov dword [ebp + 0x14], 0xcb
jmp 0x45f4b9
cmp ecx, 0xcb
jne 0x45f52e
mov eax, dword [ebp + 0x190]
cmp byte [eax + 0x10], 0
je 0x45f523
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x45f4d7
mov eax, dword [ecx]
lea ecx, [ebp]
push ecx
call eax
add esp, 4
mov eax, dword [ebp + 0x190]
lea ecx, [ebp]
push ecx
mov eax, dword [eax]
call eax
add esp, 4
test eax, eax
je 0x45f8ca
cmp eax, 2
je 0x45f523
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x45f4d7
cmp eax, 3
je 0x45f506
cmp eax, 1
jne 0x45f4c8
inc dword [ecx + 4]
mov eax, dword [ecx + 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
cmp eax, edx
jl 0x45f4c8
mov eax, dword [ebp + 0x11c]
add eax, edx
mov dword [ecx + 8], eax
jmp 0x45f4c5
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x84], eax
jmp 0x45f566
cmp ecx, 0xcc
je 0x45f566
mov eax, dword [ebp]
mov dword [eax + 0x14], 0x14
mov ecx, dword [ebp]
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp]
mov eax, dword [eax]
cmp eax, 0x467120
jne 0x45f55d
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
jmp 0x45f566
lea ecx, [ebp]
push ecx
call eax
add esp, 4
lea eax, [ebp]
push eax
call fcn.0047e9b0
add esp, 4
test al, al
je 0x45f8ca
cmp byte [ebp - 0xd], 0
jne 0x45f8ca
push 0
push ebx
push esi
push 1
lea ecx, [ebp - 0x18]
call fcn.0044c750
mov ecx, dword [edi]
mov edx, eax
mov eax, dword [edx]
mov dword [edi], eax
mov dword [edx], ecx
lea ecx, [ebp - 0x18]
call fcn.0040e830
mov esi, dword [edi]
lea ecx, [ebp + 0x234]
push 0
call fcn.0040e680
push str.originalImageHadAlpha
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0040cd70
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 3
lea eax, [ebp + 0x234]
neg esi
push eax
lea eax, [ebp - 0x14]
sbb esi, esi
push eax
and ecx, esi
call fcn.00426840
lea ecx, [ebp - 0x14]
call fcn.0040e7a0
lea ecx, [ebp + 0x234]
call fcn.0040f570
mov ecx, dword [edi]
test ecx, ecx
jne 0x45f603
xor eax, eax
mov dword [ebp - 0x40], ecx
xor ebx, ebx
jmp 0x45f60f
mov eax, dword [ecx + 0xc]
mov ebx, dword [ecx + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0
mov eax, dword [ecx]
lea edx, [ebp - 0x54]
push 1
push 0
push 0
push edx
mov byte [ebp - 4], 4
call dword [eax + 0x10]
xor edi, edi
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], edi
cmp dword [ebp - 0x24], edi
jle 0x45f775
cmp dword [ebp + 0x14], 0xcd
je 0x45f67a
mov eax, dword [ebp]
mov dword [eax + 0x14], 0x14
mov ecx, dword [ebp]
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp]
mov eax, dword [eax]
cmp eax, 0x467120
jne 0x45f671
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
jmp 0x45f67a
lea ecx, [ebp]
push ecx
call eax
add esp, 4
mov eax, dword [ebp + 0x78]
cmp eax, dword [ebp + 0x60]
jb 0x45f6a9
mov eax, dword [ebp]
mov dword [eax + 0x14], 0x7b
mov eax, dword [ebp]
mov eax, dword [eax + 4]
cmp eax, fcn.0040f200
je 0x45f6a4
lea ecx, [ebp]
push 0xffffffffffffffff
push ecx
call eax
add esp, 8
mov esi, dword [ebp - 0x1c]
jmp 0x45f6f6
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x45f6cd
mov eax, dword [ebp + 0x78]
mov dword [ecx + 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x60]
mov dword [ecx + 8], eax
lea ecx, [ebp]
mov eax, dword [ebp + 8]
push ecx
mov eax, dword [eax]
call eax
add esp, 4
mov eax, dword [ebp + 0x184]
lea ecx, [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
push 1
push ecx
lea ecx, [ebp]
mov dword [ebp - 0x20], 0
mov eax, dword [eax + 4]
push esi
push ecx
call eax
mov eax, dword [ebp - 0x20]
add esp, 0x10
add dword [ebp + 0x78], eax
cmp byte [ebp - 0xd], 0
jne 0x45f896
mov eax, dword [ebp - 0x48]
mov esi, dword [esi]
imul eax, edi
mov edi, dword [ebp - 0x30]
dec edi
add eax, dword [ebp - 0x54]
cmp ebx, 1
je 0x45f742
test edi, edi
js 0x45f765
nop dword [eax + eax]
mov cl, byte [esi + 2]
lea esi, [esi + 3]
mov dl, byte [esi - 2]
mov bl, byte [esi - 3]
mov byte [eax], cl
mov byte [eax + 1], dl
mov byte [eax + 2], bl
mov byte [eax + 3], 0xff
add eax, dword [ebp - 0x44]
sub edi, 1
jns 0x45f720
jmp 0x45f762
test edi, edi
js 0x45f765
mov bl, byte [esi + 2]
lea esi, [esi + 3]
mov dl, byte [esi - 2]
mov cl, byte [esi - 3]
mov byte [eax + 2], cl
mov byte [eax + 1], dl
mov byte [eax], bl
add eax, dword [ebp - 0x44]
sub edi, 1
jns 0x45f746
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
inc edi
mov dword [ebp - 0x18], edi
cmp edi, dword [ebp - 0x24]
jl 0x45f641
cmp byte [ebp - 0xd], 0
jne 0x45f896
mov eax, dword [ebp + 0x14]
cmp eax, 0xcd
je 0x45f790
cmp eax, 0xce
jne 0x45f7dd
cmp byte [ebp + 0x40], 0
jne 0x45f7dd
mov eax, dword [ebp + 0x78]
cmp eax, dword [ebp + 0x60]
jae 0x45f7c5
mov eax, dword [ebp]
mov dword [eax + 0x14], 0x43
mov eax, dword [ebp]
mov eax, dword [eax]
cmp eax, 0x467120
jne 0x45f7bc
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
jmp 0x45f7c5
lea ecx, [ebp]
push ecx
call eax
add esp, 4
mov eax, dword [ebp + 0x180]
lea ecx, [ebp]
push ecx
mov eax, dword [eax + 4]
call eax
mov dword [ebp + 0x14], 0xd2
jmp 0x45f821
cmp eax, 0xcf
jne 0x45f7ed
mov dword [ebp + 0x14], 0xd2
jmp 0x45f824
cmp eax, 0xd2
je 0x45f824
mov eax, dword [ebp]
mov dword [eax + 0x14], 0x14
mov ecx, dword [ebp]
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp]
mov eax, dword [eax]
cmp eax, 0x467120
jne 0x45f81b
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
jmp 0x45f824
lea ecx, [ebp]
push ecx
call eax
add esp, 4
mov eax, dword [ebp + 0x190]
cmp byte [eax + 0x11], 0
jne 0x45f84b
mov eax, dword [eax]
lea ecx, [ebp]
push ecx
call eax
add esp, 4
test eax, eax
je 0x45f896
mov eax, dword [ebp + 0x190]
cmp byte [eax + 0x11], 0
je 0x45f830
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 0x18]
cmp eax, fcn.0040f200
je 0x45f861
lea ecx, [ebp]
push ecx
call eax
add esp, 4
mov eax, dword [ebp + 4]
test eax, eax
je 0x45f896
mov eax, dword [eax + 0x24]
lea ecx, [ebp]
push 1
push ecx
call eax
add esp, 8
cmp byte [ebp + 0x10], 0
je 0x45f88f
mov dword [ebp + 0x14], 0xc8
mov dword [ebp + 0x10c], 0
jmp 0x45f896
mov dword [ebp + 0x14], 0x64
mov edi, dword [ebp - 0x34]
lea ecx, [ebp - 0x7c]
mov eax, dword [edi]
mov esi, dword [eax + 0x58]
call fcn.0041af10
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov ecx, edi
sub edx, eax
mov eax, edx
cdq
push edx
push eax
call esi
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x45f8c7
mov eax, dword [ecx]
push 1
call dword [eax]
mov edi, dword [ebp - 0x28]
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x45f8dd
mov ecx, dword [ecx + 0x28]
lea eax, [ebp]
push eax
call ecx
add esp, 4
lea ecx, [ebp - 0x7c]
call fcn.0040ef50
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x244]
xor ecx, ebp
call fcn.00512b0b
lea esp, [ebp + 0x248]
pop ebp
ret 8