Function at 0x45ec99
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
lea ebp, [esp - 0x248]
sub esp, 0x248
push 0xffffffffffffffff
push 0x53e059
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x58213c]
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.0040b610
push ebx
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], 1
push eax
call fcn.0040e9f0
mov dword [edi], 0
cmp dword [ebp - 0x60], 0x10
mov dword [ebp - 0x2c], 1
jbe 0x45f21d
push 0x70
lea eax, [ebp + 0x1c4]
push 0
push eax
call fcn.00514400
lea eax, [ebp + 0x1b0]
mov dword [ebp + 0x1b0], 0x466a60
push 0x1b0
mov dword [ebp], eax
lea eax, [ebp]
push 0x3e
push eax
mov dword [ebp + 0x1b4], fcn.0040df50
mov dword [ebp + 0x1b8], fcn.0040df50
mov dword [ebp + 0x1bc], fcn.0040df50
mov dword [ebp + 0x1c0], fcn.0040df50
call fcn.00475590
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.0040df50
mov eax, dword [ebp + 0x18]
mov dword [eax + 0xc], method.juce::Typeface.virtual_36
mov eax, dword [ebp + 0x18]
mov dword [eax + 0x10], 0x475520
mov eax, dword [ebp + 0x18]
mov dword [eax + 0x14], 0x47b1a0
mov eax, dword [ebp + 0x18]
mov dword [eax + 0x18], fcn.0040df50
call fcn.0041a740
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 0x45ec24
cmp eax, 0xc9
je 0x45ec24
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, 0x466a60
jne 0x45ec18
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
jmp 0x45ec21
lea ecx, [ebp]
push ecx
call eax
add esp, 4
mov eax, dword [ebp + 0x14]
add eax, 0xffffff38
cmp eax, 0xa
ja case.0x45ec39.209
movzx eax, byte [eax + 0x45f260]
jmp dword [eax*4 + 0x45f24c]
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.0040df50
je 0x45ec68
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 0x45ecac
lea eax, [ebp]
push eax
call fcn.00460ac0
mov dword [ebp + 0x14], 0xca
jmp 0x45eca9
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.0x45ec39.202
sub esi, 1
jne case.0x45ec39.202
mov eax, dword [ebp]
mov dword [eax + 0x14], 0x33
mov eax, dword [ebp]
mov eax, dword [eax]
cmp eax, 0x466a60
jne 0x45ecdc
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
jmp 0x45ece5
lea ecx, [ebp]
push ecx
call eax
add esp, 4
mov ecx, dword [ebp + 4]
test ecx, ecx
je case.0x45ec39.202
mov eax, dword [ecx + 0x24]
lea ecx, [ebp]
push 1
push ecx
call eax
add esp, 8
cmp byte [ebp + 0x10], 0
je 0x45ed13
mov dword [ebp + 0x14], 0xc8
mov dword [ebp + 0x10c], 0
jmp case.0x45ec39.202
mov dword [ebp + 0x14], 0x64
jmp case.0x45ec39.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, 0x466a60
jne 0x45ed43
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
jmp case.0x45ec39.202
lea ecx, [ebp]
push ecx
call eax
add esp, 4
cmp byte [ebp - 0xd], 0
jne 0x45f20a
lea eax, [ebp]
push eax
call fcn.00475890
add esp, 4
cmp byte [ebp - 0xd], 0
jne 0x45f20a
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 0x45edf1
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], 0x4938e0
mov dword [eax + 4], 0x469750
mov byte [eax + 8], 0
lea eax, [ebp]
push eax
call fcn.0047c860
add esp, 0x10
cmp byte [ebp + 0x40], 0
je 0x45ede8
mov dword [ebp + 0x14], 0xcf
jmp 0x45eeba
mov dword [ebp + 0x14], 0xcb
jmp 0x45edf9
cmp ecx, 0xcb
jne 0x45ee6e
mov eax, dword [ebp + 0x190]
cmp byte [eax + 0x10], 0
je 0x45ee63
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x45ee17
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 0x45f20a
cmp eax, 2
je 0x45ee63
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x45ee17
cmp eax, 3
je 0x45ee46
cmp eax, 1
jne 0x45ee08
inc dword [ecx + 4]
mov eax, dword [ecx + 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
cmp eax, edx
jl 0x45ee08
mov eax, dword [ebp + 0x11c]
add eax, edx
mov dword [ecx + 8], eax
jmp 0x45ee05
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x84], eax
jmp 0x45eea6
cmp ecx, 0xcc
je 0x45eea6
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, 0x466a60
jne 0x45ee9d
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
jmp 0x45eea6
lea ecx, [ebp]
push ecx
call eax
add esp, 4
lea eax, [ebp]
push eax
call fcn.0047e2e0
add esp, 4
test al, al
je 0x45f20a
cmp byte [ebp - 0xd], 0
jne 0x45f20a
push 0
push ebx
push esi
push 1
lea ecx, [ebp - 0x18]
call fcn.0044c090
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.0040d510
mov esi, dword [edi]
lea ecx, [ebp + 0x234]
push 0
call fcn.0040d360
push str.originalImageHadAlpha
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0040b3f0
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.00426170
lea ecx, [ebp - 0x14]
call fcn.0040d480
lea ecx, [ebp + 0x234]
call fcn.0040e4b0
mov ecx, dword [edi]
test ecx, ecx
jne 0x45ef43
xor eax, eax
mov dword [ebp - 0x40], ecx
xor ebx, ebx
jmp 0x45ef4f
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 0x45f0b5
cmp dword [ebp + 0x14], 0xcd
je 0x45efba
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, 0x466a60
jne 0x45efb1
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
jmp 0x45efba
lea ecx, [ebp]
push ecx
call eax
add esp, 4
mov eax, dword [ebp + 0x78]
cmp eax, dword [ebp + 0x60]
jb 0x45efe9
mov eax, dword [ebp]
mov dword [eax + 0x14], 0x7b
mov eax, dword [ebp]
mov eax, dword [eax + 4]
cmp eax, fcn.0040df50
je 0x45efe4
lea ecx, [ebp]
push 0xffffffffffffffff
push ecx
call eax
add esp, 8
mov esi, dword [ebp - 0x1c]
jmp 0x45f036
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x45f00d
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 0x45f1d6
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 0x45f082
test edi, edi
js 0x45f0a5
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 0x45f060
jmp 0x45f0a2
test edi, edi
js 0x45f0a5
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 0x45f086
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
inc edi
mov dword [ebp - 0x18], edi
cmp edi, dword [ebp - 0x24]
jl 0x45ef81
cmp byte [ebp - 0xd], 0
jne 0x45f1d6
mov eax, dword [ebp + 0x14]
cmp eax, 0xcd
je 0x45f0d0
cmp eax, 0xce
jne 0x45f11d
cmp byte [ebp + 0x40], 0
jne 0x45f11d
mov eax, dword [ebp + 0x78]
cmp eax, dword [ebp + 0x60]
jae 0x45f105
mov eax, dword [ebp]
mov dword [eax + 0x14], 0x43
mov eax, dword [ebp]
mov eax, dword [eax]
cmp eax, 0x466a60
jne 0x45f0fc
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
jmp 0x45f105
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 0x45f161
cmp eax, 0xcf
jne 0x45f12d
mov dword [ebp + 0x14], 0xd2
jmp 0x45f164
cmp eax, 0xd2
je 0x45f164
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, 0x466a60
jne 0x45f15b
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
jmp 0x45f164
lea ecx, [ebp]
push ecx
call eax
add esp, 4
mov eax, dword [ebp + 0x190]
cmp byte [eax + 0x11], 0
jne 0x45f18b
mov eax, dword [eax]
lea ecx, [ebp]
push ecx
call eax
add esp, 4
test eax, eax
je 0x45f1d6
mov eax, dword [ebp + 0x190]
cmp byte [eax + 0x11], 0
je 0x45f170
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 0x18]
cmp eax, fcn.0040df50
je 0x45f1a1
lea ecx, [ebp]
push ecx
call eax
add esp, 4
mov eax, dword [ebp + 4]
test eax, eax
je 0x45f1d6
mov eax, dword [eax + 0x24]
lea ecx, [ebp]
push 1
push ecx
call eax
add esp, 8
cmp byte [ebp + 0x10], 0
je 0x45f1cf
mov dword [ebp + 0x14], 0xc8
mov dword [ebp + 0x10c], 0
jmp 0x45f1d6
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.0041a740
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 0x45f207
mov eax, dword [ecx]
push 1
call dword [eax]
mov edi, dword [ebp - 0x28]
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x45f21d
mov ecx, dword [ecx + 0x28]
lea eax, [ebp]
push eax
call ecx
add esp, 4
lea ecx, [ebp - 0x7c]
call fcn.0040dca0
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.00511b56
lea esp, [ebp + 0x248]
pop ebp
ret 8