Function at 0x424110
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x64
or eax, 0xffffffff
push ebx
push ebp
mov word [esp + 0x56], ax
mov word [esp + 0x58], ax
mov word [esp + 0x5a], ax
mov word [esp + 0x5c], ax
mov word [esp + 0x5e], ax
mov word [esp + 0x6a], ax
mov eax, dword [esp + 0x70]
push esi
mov ebx, ecx
xor esi, esi
mov ecx, 1
mov word [eax], si
mov eax, dword [ebx + 0x42c]
test eax, 0x20000
push edi
mov dword [esp + 0x20], ebx
mov word [esp + 0x54], si
mov word [esp + 0x56], cx
mov word [esp + 0x58], cx
mov word [esp + 0x5a], cx
mov word [esp + 0x5c], si
mov word [esp + 0x68], si
mov word [esp + 0x6a], cx
mov word [esp + 0x6c], cx
mov word [esp + 0x6e], cx
mov word [esp + 0x70], si
jne 0x42419a
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x64
ret 4
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
imul eax, ecx
shl eax, 2
push eax
call fcn.004640eb
mov ecx, dword [ebx + 8]
add esp, 4
cmp eax, esi
mov dword [esp + 0x14], eax
jne 0x424210
add ecx, 0x1c
push ecx
lea ecx, [esp + 0x7c]
call fcn.00406cc0
mov edx, dword [esp + 0x78]
mov eax, dword [0x496644]
push edx
push esi
push str.shadow_dot
push 2
push str.PICTURE__s
push eax
call fcn.00407250
mov eax, dword [esp + 0x90]
add esp, 0x18
cmp eax, 0x496630
je 0x424271
push eax
call fcn.004640e0
add esp, 4
mov eax, 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 4
mov eax, dword [ecx + 0x14]
imul eax, dword [ecx + 0x10]
push eax
call fcn.004640eb
mov edi, eax
add esp, 4
cmp edi, esi
mov dword [esp + 0x24], edi
jne 0x424280
mov ecx, dword [ebx + 8]
add ecx, 0x1c
push ecx
lea ecx, [esp + 0x7c]
call fcn.00406cc0
mov edx, dword [esp + 0x78]
mov eax, dword [0x496644]
push edx
push esi
push str.dot_without_shadow
push 2
push str.PICTURE__s
push eax
call fcn.00407250
mov eax, dword [esp + 0x90]
add esp, 0x18
cmp eax, 0x496630
je 0x424271
push eax
call fcn.004640e0
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x64
ret 4
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x14]
imul ecx, dword [eax + 0x10]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 8]
xor edi, edi
mov dword [esp + 0x3c], 1
mov ecx, dword [eax + 0x10]
test ecx, ecx
jle 0x424335
xor ebp, ebp
test edi, edi
mov dword [esp + 0x10], ebp
jl 0x4242f1
push ebp
push edi
mov ecx, ebx
call fcn.00425480
test eax, eax
je 0x4242de
mov ecx, dword [ebx + 8]
mov eax, dword [esp + 0x24]
mov edx, dword [ecx + 0x10]
imul edx, ebp
add edx, edi
cmp byte [edx + eax], 0
je 0x4242e9
inc ebp
cmp ebp, edi
jle 0x4242bc
mov dword [esp + 0x10], ebp
jmp 0x4242f1
cmp ebp, edi
mov dword [esp + 0x10], ebp
jle 0x424339
xor esi, esi
test edi, edi
jle 0x424324
push edi
push esi
mov ecx, ebx
call fcn.00425480
test eax, eax
je 0x424319
mov ecx, dword [ebx + 8]
mov eax, dword [esp + 0x24]
mov edx, dword [ecx + 0x10]
imul edx, edi
add edx, esi
cmp byte [edx + eax], 0
je 0x424320
inc esi
cmp esi, edi
jl 0x4242f7
jmp 0x424324
cmp esi, edi
jl 0x42432f
mov ecx, dword [ebx + 8]
inc edi
cmp edi, dword [ecx + 0x10]
jl 0x4242b2
jmp 0x424339
mov dword [esp + 0x10], edi
mov edi, esi
mov ebp, dword [esp + 0x10]
mov edx, dword [ebx + 8]
cmp edi, dword [edx + 0x10]
jge 0x424271
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], 1
movsx eax, di
mov word [ecx], di
mov dword [esp + 0x50], eax
movsx edx, bp
mov word [ecx + 2], bp
xor eax, eax
add ecx, 4
mov dword [esp + 0x4c], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], ecx
jmp 0x424379
mov eax, dword [esp + 0x28]
lea ebx, [eax + 1]
and ebx, 7
cmp ebx, eax
je 0x42441b
jmp 0x42438d
mov ebp, dword [esp + 0x10]
movsx eax, word [esp + ebx*2 + 0x64]
lea esi, [eax + ebp]
movsx ebp, word [esp + ebx*2 + 0x54]
push esi
lea ecx, [edi + ebp]
push ecx
mov ecx, dword [esp + 0x28]
call fcn.00425480
test eax, eax
je 0x4243c7
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 8]
mov edx, dword [esp + 0x24]
mov ecx, dword [eax + 0x10]
imul ecx, esi
add ecx, ebp
add ecx, edi
cmp byte [ecx + edx], 0
je 0x4243d5
mov eax, dword [esp + 0x28]
inc ebx
and ebx, 7
cmp ebx, eax
jne 0x424389
jmp 0x424413
movsx ecx, word [esp + ebx*2 + 0x64]
movsx eax, word [esp + ebx*2 + 0x54]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
add edx, ecx
mov ecx, dword [esp + 0x1c]
add edi, eax
mov eax, ebx
mov word [ecx], di
xor eax, 4
mov word [ecx + 2], dx
inc esi
add ecx, 4
cmp ebx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ecx
jne 0x424461
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
sub ecx, 4
dec edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
xor eax, eax
movsx edx, word [ecx - 4]
movsx ebx, word [esp + eax*2 + 0x54]
movsx esi, word [ecx]
add ebx, edx
cmp esi, ebx
jne 0x424452
movsx esi, word [esp + eax*2 + 0x64]
movsx ebx, word [ecx - 2]
add esi, ebx
movsx ebx, word [ecx + 2]
cmp ebx, esi
je 0x424458
inc eax
cmp eax, 8
jl 0x424431
xor eax, 4
mov dword [esp + 0x28], eax
jmp 0x424469
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
movsx eax, word [edx]
cmp eax, edi
jne 0x424375
movsx eax, word [edx + 2]
cmp eax, ebp
jne 0x424375
mov eax, dword [esp + 0x18]
xor esi, esi
test eax, eax
mov dword [esp + 0x38], 1
mov dword [esp + 0x30], esi
jle 0x424651
mov ebx, edx
lea ecx, [ebx + 4]
mov dword [esp + 0x44], ecx
lea ecx, [esi + 3]
cmp ecx, eax
mov dword [esp + 0x1c], ecx
jge 0x424617
lea edx, [ebx + esi*4 + 2]
lea ebx, [ebx + ecx*4 + 2]
mov dword [esp + 0x40], edx
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x40]
movsx edi, word [ebx]
movsx ebp, word [eax]
mov ecx, edi
sub ecx, ebp
jne 0x4244ea
mov eax, dword [esp + 0x14]
movsx edx, word [ebx - 2]
movsx ecx, word [eax + esi*4]
sub edx, ecx
je 0x4245f3
mov edx, dword [esp + 0x14]
movsx ecx, word [edx + esi*4]
movsx edx, word [ebx - 4]
mov eax, ecx
sub eax, edx
movsx edx, word [ebx - 6]
sub eax, edx
add eax, ebp
cdq
xor eax, edx
sub eax, edx
cmp eax, 1
jl 0x4245f3
mov edx, dword [esp + 0x1c]
lea eax, [esi + 1]
cmp eax, edx
mov dword [esp + 0x34], eax
jge 0x4245f3
movsx edx, word [ebx - 2]
sub ecx, edx
mov edx, dword [esp + 0x14]
lea eax, [edx + eax*4]
mov dword [esp + 0x28], eax
mov eax, ebp
mov edx, ecx
sub eax, edi
imul edx, ecx
mov ecx, eax
imul ecx, eax
add edx, ecx
push edx
call fcn.00404f90
movsx edx, word [ebx - 2]
movsx edi, word [ebx]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x18]
add esp, 4
movsx ebx, word [ebx]
movsx esi, word [eax + esi*4]
mov eax, dword [esp + 0x40]
mov ecx, esi
sub ecx, edx
imul esi, edi
movsx ebp, word [eax]
mov eax, edi
imul edx, ebp
sub eax, ebp
imul eax, ebx
mov ebx, dword [esp + 0x28]
movsx ebx, word [ebx + 2]
imul ebx, ecx
add eax, ebx
sub eax, esi
add eax, edx
cdq
xor eax, edx
sub eax, edx
cdq
idiv dword [esp + 0x48]
mov edx, dword [esp + 0x20]
mov edx, dword [edx + 0x42c]
and edx, 0x80000
neg edx
sbb edx, edx
and edx, 3
cmp eax, edx
jg 0x4245df
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
inc eax
add esi, 4
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x30]
cmp eax, edx
mov dword [esp + 0x34], eax
jl 0x424534
jmp 0x4245f3
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
cmp ecx, eax
jl 0x42460f
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
inc eax
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ebx
jl 0x4244c6
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
lea esi, [ecx - 1]
mov dword [esp + 0x30], esi
jge 0x424640
mov edx, dword [ebx + ecx*4 - 4]
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x38]
mov dword [ecx], edx
inc edi
add ecx, 4
mov dword [esp + 0x38], edi
mov dword [esp + 0x44], ecx
cmp esi, eax
jl 0x4244a7
mov eax, dword [esp + 0x38]
cmp eax, 3
jge 0x424677
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x20]
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x50]
mov edx, dword [ecx + 0x10]
imul edx, dword [esp + 0x4c]
add edx, eax
mov eax, dword [esp + 0x24]
mov byte [edx + eax], 1
jmp 0x42429a
cmp eax, 0xff
jle 0x4246a1
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x42469a
mov edx, ebx
mov ecx, ebx
mov esi, eax
mov edi, dword [ecx]
add ecx, 8
mov dword [edx], edi
add edx, 4
dec esi
jne 0x42468d
cmp eax, 0xff
jg 0x42467e
mov esi, dword [esp + 0x78]
test eax, eax
mov word [esi], ax
jle 0x424703
add esi, 2
mov edi, ebx
mov ebp, eax
movsx ecx, word [edi + 2]
movsx edx, word [edi]
push ecx
mov ecx, dword [esp + 0x24]
push edx
call fcn.004226b0
movsx eax, ax
mov cx, word [edi]
add edi, 4
cdq
and edx, 7
mov word [esi], cx
mov ecx, dword [esp + 0x3c]
add eax, edx
mov dx, word [edi - 2]
add esi, 2
sar eax, 3
sub eax, 0x80
inc ecx
add dx, ax
inc ecx
mov word [esi], dx
add esi, 2
inc ecx
mov word [esi], ax
add esi, 2
dec ebp
mov dword [esp + 0x3c], ecx
jne 0x4246b3
push ebx
call fcn.004640e0
mov eax, dword [esp + 0x28]
push eax
call fcn.004640e0
mov ecx, dword [esp + 0x44]
add esp, 8
pop edi
pop esi
pop ebp
lea eax, [ecx + ecx]
pop ebx
add esp, 0x64
ret 4