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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2d4
mov eax, dword [0x5eef00]
xor eax, esp
mov dword [esp + 0x2d0], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
push 0x4c
push ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], ebx
call fcn.0042f0b0
push 0x54
push ebx
mov dword [esp + 0x38], eax
call fcn.0042f0b0
push 0x43
push ebx
mov dword [esp + 0x3c], eax
call fcn.0042f0b0
push 0x27
push ebx
mov esi, eax
call fcn.0042f0b0
push 5
push ebx
mov edi, eax
call fcn.0042f0b0
mov dword [esp + 0x6c], eax
xor eax, eax
push 0xff
push eax
lea ecx, [esp + 0x109]
push ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x44], eax
mov byte [esp + 0x10c], al
call fcn.004b3a80
add esp, 0x34
push 0xff
lea edx, [esp + 0x1dd]
push 0
push edx
mov byte [esp + 0x1e4], 0
call fcn.004b3a80
xor eax, eax
add esp, 0xc
cmp ebx, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x64], eax
mov byte [esp + 0x1b], 0x3f
jne 0x42bb54
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2d0]
xor ecx, esp
call fcn.004b2f95
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x14], eax
je 0x42bb3d
cmp dword [esp + 0x24], eax
jne 0x42bb7a
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.0047d0e0
add esp, 8
test eax, eax
mov dword [esp + 0x24], eax
je 0x42bb3d
cmp dword [esp + 0x44], 0
jne 0x42bb94
push 1
push ebx
call fcn.0042f0b0
add esp, 8
test eax, eax
mov dword [esp + 0x44], eax
je 0x42bb3d
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x86c]
push eax
call fcn.00494030
add esp, 4
test eax, eax
je 0x42bbb0
mov byte [esp + 0x1b], 0x5f
test esi, esi
je 0x42bbe0
push esi
call fcn.004b31a7
add esp, 4
push 0x78
push esi
mov dword [esp + 0x50], eax
call fcn.004b41d0
add esp, 8
test eax, eax
je 0x42bbe0
add eax, 1
push eax
call fcn.004b31a7
add esp, 4
mov dword [esp + 0x30], eax
push 0x5f
push ebx
call fcn.0042f0b0
add esp, 8
test eax, eax
je 0x42bc38
cmp byte [eax], 0
je 0x42bc38
push eax
call fcn.004b31a7
add esp, 4
test eax, eax
je 0x42bc38
push 0xea
call fcn.0047ac00
add esp, 4
test eax, eax
jne 0x42bc30
push 0xcf
call fcn.0047ac00
add esp, 4
test eax, eax
jle 0x42bc38
mov ecx, dword [esp + 0x30]
imul ecx, dword [esp + 0x48]
cmp ecx, eax
jle 0x42bc38
mov dword [esp + 0x58], 1
test edi, edi
je 0x42bc68
push edi
call fcn.004b31a7
add esp, 4
push 0x78
push edi
mov dword [esp + 0x64], eax
call fcn.004b41d0
add esp, 8
test eax, eax
je 0x42bc68
add eax, 1
push eax
call fcn.004b31a7
add esp, 4
mov dword [esp + 0x54], eax
push 0x26
push ebx
call fcn.0042f0b0
add esp, 8
test eax, eax
je 0x42bc8b
cmp byte [eax], 0
je 0x42bc8b
push eax
call fcn.004b31a7
add esp, 4
mov dword [esp + 0x40], eax
jmp 0x42bc93
mov dword [esp + 0x40], 0
push 0x25
push ebx
call fcn.0042f0b0
add esp, 8
test eax, eax
je 0x42bcda
cmp byte [eax], 0
je 0x42bcda
push eax
call fcn.004b31a7
add esp, 4
test eax, eax
je 0x42bcda
push 0x3b
push ebx
call fcn.0042f0b0
add esp, 8
test eax, eax
je 0x42bcd5
cmp byte [eax], 0
je 0x42bcd5
push eax
call fcn.004b31a7
add esp, 4
test eax, eax
jne 0x42bcda
add dword [esp + 0x40], 0x58
push 0x400
push 1
call fcn.00477460
add esp, 8
test eax, eax
mov dword [esp + 0x3c], eax
je 0x42bb3d
push 0x64
lea edx, [esp + 0x74]
push 0
push edx
call fcn.004b3a80
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x86c]
add esp, 0xc
push ecx
call fcn.004941e0
add esp, 4
test eax, eax
jne 0x42c524
mov edx, dword [esp + 0x24]
push edx
call fcn.004051f0
add esp, 4
test eax, eax
je 0x42c524
cmp dword [esp + 0x58], 0
jne 0x42c524
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 0x86c]
push str.image
push eax
push ecx
call fcn.004991a0
mov ebx, eax
add esp, 0xc
test ebx, ebx
mov dword [esp + 0x50], ebx
jne 0x42bd8f
cmp dword [esi + 0x86c], eax
jle 0x42bdcb
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x48]
push edx
push eax
mov ecx, str.JPEGORG_JPEG160x160_JPEG640x480_JPEG1024x768_JPEG1920x1080
call fcn.00426940
mov ebx, eax
add esp, 8
mov dword [esp + 0x50], ebx
jmp 0x42bdcb
mov ecx, dword [esi + 0x86c]
push ecx
call fcn.00494b40
add esp, 4
test eax, eax
je 0x42bdcb
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x48]
push edx
push eax
mov ecx, ebx
mov esi, ebx
call fcn.00426940
add esp, 8
test esi, esi
mov ebx, eax
mov dword [esp + 0x50], ebx
je 0x42bdcb
push esi
call fcn.00477540
add esp, 4
mov esi, dword [esp + 0x24]
xor edx, edx
mov edi, str.image_jpeg
mov ecx, 0xb
repe cmpsb byte [esi], byte es:[edi]
mov eax, edx
sete al
test ebx, ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x20], eax
je 0x42c520
cmp byte [ebx], 0
je 0x42c513
cmp dword [esp + 0x10], 0x19
jge 0x42c513
push 4
push str.JPEG
push ebx
call fcn.004b2fa4
add esp, 0xc
test eax, eax
jne 0x42c4f5
push 7
push str.JPEGORG
push ebx
call fcn.004b2fa4
add esp, 0xc
test eax, eax
jne 0x42be3c
cmp dword [esp + 0x20], eax
jne 0x42c4f5
push 7
push str.JPEGORG
push ebx
mov dword [esp + 0x28], 1
call fcn.004b2fa4
add esp, 0xc
test eax, eax
jne 0x42be64
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x30]
mov esi, edi
jmp 0x42be9b
lea ecx, [ebx + 4]
push ecx
call fcn.004b31a7
add esp, 4
push 0x78
push ebx
mov esi, eax
call fcn.004b41d0
mov ebx, eax
add esp, 8
test ebx, ebx
mov dword [esp + 0x50], ebx
je 0x42c513
lea edx, [ebx + 1]
push edx
call fcn.004b31a7
mov edi, dword [esp + 0x4c]
add esp, 4
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x3c]
push edx
push eax
mov eax, dword [esp + 0x3c]
push esi
push eax
push edi
call fcn.0048f170
mov eax, dword [esp + 0x50]
add esp, 0x18
cmp eax, edi
jl 0x42bef3
mov ecx, dword [esp + 0x34]
cmp ecx, dword [esp + 0x30]
jl 0x42bef3
cmp dword [esp + 0x20], 0
jne 0x42c4f5
cmp dword [esp + 0x64], 0
jne 0x42c4f5
mov edx, dword [esp + 0x30]
mov eax, edi
mov dword [esp + 0x64], 1
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], edx
mov esi, dword [esp + 0x5c]
cmp eax, esi
mov dword [esp + 0x6c], 0
je 0x42bf11
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x54]
jne 0x42c061
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x86c]
push edx
call fcn.00494090
add esp, 4
test eax, eax
jne 0x42c061
cmp dword [esp + 0x40], 0
mov eax, dword [esp + 0x54]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], eax
je 0x42c03e
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
push ecx
push 0x5d9afc
push 0x400
push esi
call fcn.004776e0
push esi
call fcn.004774f0
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + ebx*4 + 0x84]
mov edi, eax
add esp, 0x14
test edi, edi
lea ebx, [esp + ebx*4 + 0x70]
je 0x42c03a
test esi, esi
jne 0x42bfa4
push 0x7fc
push 1
call fcn.00477460
add esp, 8
test eax, eax
je 0x42bf9a
mov word [eax], 0xff
test eax, eax
mov esi, eax
je 0x42c03c
cmp byte [edi], 0
push edi
jne 0x42bfb7
call fcn.00477540
add esp, 4
jmp 0x42c03a
call fcn.00475130
add esp, 4
cmp edx, 1
jg 0x42bff4
jl 0x42bfca
test eax, eax
jae 0x42bff4
cmp dword [esi + 0x4f4], 0
je 0x42bfe0
push 0x3d
push esi
call fcn.0042f000
add esp, 8
mov esi, eax
push 0
push edi
mov eax, 0x60
mov ecx, esi
call fcn.0042ee00
add esp, 8
jmp 0x42c03c
push edi
call fcn.00476620
add esp, 4
cmp dword [esi + 0x4f4], 0
je 0x42c013
push 0x3d
push esi
call fcn.0042f000
add esp, 8
mov esi, eax
mov eax, 0x3d
cmp word [esi], ax
mov dword [esi + 0x4f4], edi
mov dword [esi + 0xf8], 0
jle 0x42c030
mov word [esi], ax
cmp word [esi + 2], ax
jge 0x42c03a
mov word [esi + 2], ax
mov eax, esi
mov dword [ebx], eax
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x86c]
push eax
mov dword [esp + 0x6c], 1
call fcn.00494750
add esp, 4
test eax, eax
jne 0x42c061
xor edi, edi
jmp 0x42c065
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
push ecx
push edx
push str.JPEG
call fcn.0048fdc0
mov esi, dword [esp + 0x38]
mov dword [esp + 0x28], eax
add esp, 0xc
mov eax, esi
call fcn.0042fcb0
mov dword [esp + 0x4c], eax
mov eax, esi
call fcn.0042fba0
test eax, eax
je 0x42c0a2
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
push eax
push ecx
push esi
call fcn.00408b00
add esp, 0xc
test eax, eax
ja 0x42c0d2
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x86c]
push eax
call fcn.004948d0
add esp, 4
test eax, eax
je 0x42c0f5
jmp 0x42c0ed
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + ebx*4 + 0x70]
push 0
push eax
lea ebx, [esp + ebx*4 + 0x78]
push 0x3d
call fcn.0042fd80
add esp, 0xc
mov dword [ebx], eax
mov dword [esp + 0x6c], 1
cmp dword [esp + 0x20], 0
jne 0x42c108
test edi, edi
je 0x42c108
mov dword [esp + 0x28], 0x5d9370
mov eax, dword [esp + 0x4c]
push 0
push 0
push 0
push 0
push pe_nt_image_headers32
lea ecx, [esp + 0x1ec]
push ecx
mov ecx, dword [esp + 0x84]
push pe_nt_image_headers32
lea edx, [esp + 0xf4]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x38]
push 1
push 1
push 0
push edi
push 0
push ecx
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x5c]
push 0
push eax
call fcn.00426e90
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
push ecx
push edx
call fcn.0048fba0
mov ebx, eax
add esp, 0x50
test ebx, ebx
jne 0x42c179
mov eax, 0x5cd6b3
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x3c]
push eax
movsx eax, byte [esp + 0x1f]
push eax
push ecx
mov ecx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x1e8]
push eax
add ecx, 0x874
push ecx
push str._sdisk__s_O_s._s_cscale_s
push 0x400
push esi
call fcn.004776e0
add esp, 0x24
push esi
call fcn.004774f0
mov edx, dword [esp + 0x14]
mov esi, dword [esp + edx*4 + 0x74]
mov edi, eax
add esp, 4
test edi, edi
je 0x42c25f
test esi, esi
jne 0x42c1f1
push 0x7fc
push 1
call fcn.00477460
add esp, 8
test eax, eax
je 0x42c1eb
mov word [eax], 0xff
test eax, eax
mov esi, eax
je 0x42c25f
cmp byte [edi], 0
push edi
jne 0x42c201
call fcn.00477540
add esp, 4
jmp 0x42c25f
call fcn.00476620
add esp, 4
cmp dword [esi + 0x4f0], 0
je 0x42c238
mov eax, dword [esi + 0x4f0]
test eax, eax
je 0x42c238
cmp dword [esi + 0xf4], 0
jne 0x42c22e
push eax
call fcn.00477540
add esp, 4
mov dword [esi + 0x4f0], 0
mov eax, 0x3c
cmp word [esi], ax
mov dword [esi + 0x4f0], edi
mov dword [esi + 0xf4], 0
jle 0x42c255
mov word [esi], ax
cmp word [esi + 2], ax
jge 0x42c25f
mov word [esi + 2], ax
mov eax, dword [esp + 0x10]
xor edi, edi
cmp ebx, edi
mov dword [esp + eax*4 + 0x70], esi
je 0x42c2fb
cmp esi, edi
jne 0x42c297
push 0x7fc
push 1
call fcn.00477460
add esp, 8
cmp eax, edi
je 0x42c28d
mov word [eax], 0xff
cmp eax, edi
mov esi, eax
jne 0x42c297
xor esi, esi
jmp 0x42c2fb
cmp byte [ebx], 0
push ebx
jne 0x42c2a7
call fcn.00477540
add esp, 4
jmp 0x42c2fb
call fcn.00476620
add esp, 4
cmp dword [esi + 0x50c], edi
je 0x42c2d8
mov eax, dword [esi + 0x50c]
cmp eax, edi
je 0x42c2d8
cmp dword [esi + 0x110], edi
jne 0x42c2d2
push eax
call fcn.00477540
add esp, 4
mov dword [esi + 0x50c], edi
mov eax, 0x43
cmp word [esi], ax
mov dword [esi + 0x50c], ebx
mov dword [esi + 0x110], edi
jle 0x42c2f1
mov word [esi], ax
cmp word [esi + 2], ax
jge 0x42c2fb
mov word [esi + 2], ax
mov ecx, dword [esp + 0x10]
push str.image_jpeg
mov dword [esp + ecx*4 + 0x74], esi
call fcn.004774f0
mov edi, eax
xor ebx, ebx
add esp, 4
cmp edi, ebx
je 0x42c3f9
cmp esi, ebx
jne 0x42c345
push 0x7fc
push 1
call fcn.00477460
add esp, 8
cmp eax, ebx
je 0x42c338
mov word [eax], 0xff
cmp eax, ebx
mov esi, eax
jne 0x42c345
xor esi, esi
jmp 0x42c3f9
cmp byte [edi], 0
jne 0x42c358
push edi
call fcn.00477540
add esp, 4
jmp 0x42c3f9
push 0x4c
push esi
call fcn.0042f0b0
push eax
push ebx
call fcn.0047d0e0
add esp, 0x10
cmp eax, ebx
je 0x42c3a4
mov ecx, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42c390
test dl, dl
je 0x42c38c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42c390
add eax, 2
add ecx, 2
test dl, dl
jne 0x42c370
xor eax, eax
jmp 0x42c395
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x42c3a4
push edi
call fcn.00477540
add esp, 4
jmp 0x42c3f9
push edi
call fcn.00476620
add esp, 4
cmp dword [esi + 0x550], ebx
je 0x42c3d6
mov eax, dword [esi + 0x550]
cmp eax, ebx
je 0x42c3d6
cmp dword [esi + 0x154], ebx
jne 0x42c3d0
push eax
call fcn.00477540
add esp, 4
mov dword [esi + 0x550], ebx
mov eax, 0x54
cmp word [esi], ax
mov dword [esi + 0x550], edi
mov dword [esi + 0x154], ebx
jle 0x42c3ef
mov word [esi], ax
cmp word [esi + 2], ax
jge 0x42c3f9
mov word [esi + 2], ax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x86c]
mov edx, dword [esp + 0x10]
push ecx
mov dword [esp + edx*4 + 0x74], esi
call fcn.00494c30
add esp, 4
test eax, eax
jle 0x42c4c8
lea edx, [esp + 0xd8]
push edx
call fcn.004774f0
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x42c4c0
cmp esi, ebx
jne 0x42c45c
push 0x7fc
push 1
call fcn.00477460
add esp, 8
cmp eax, ebx
je 0x42c452
mov word [eax], 0xff
cmp eax, ebx
mov esi, eax
jne 0x42c45c
xor esi, esi
jmp 0x42c4c0
cmp byte [edi], 0
push edi
jne 0x42c46c
call fcn.00477540
add esp, 4
jmp 0x42c4c0
call fcn.00476620
add esp, 4
cmp dword [esi + 0x560], ebx
je 0x42c49d
mov eax, dword [esi + 0x560]
cmp eax, ebx
je 0x42c49d
cmp dword [esi + 0x164], ebx
jne 0x42c497
push eax
call fcn.00477540
add esp, 4
mov dword [esi + 0x560], ebx
mov eax, 0x58
cmp word [esi], ax
mov dword [esi + 0x560], edi
mov dword [esi + 0x164], ebx
jle 0x42c4b6
mov word [esi], ax
cmp word [esi + 2], ax
jge 0x42c4c0
mov word [esi + 2], ax
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x70], esi
mov eax, dword [esp + 0x1c]
add dword [esp + 0x10], 1
cmp eax, ebx
je 0x42c4de
push eax
call fcn.00477540
add esp, 4
mov ecx, dword [esp + 0x2c]
push 0x4c
push ecx
call fcn.0042f0b0
mov ebx, dword [esp + 0x58]
add esp, 8
mov dword [esp + 0x28], eax
push 0x2c
push ebx
call fcn.004b41d0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x42c513
add ebx, 1
mov dword [esp + 0x50], ebx
jne 0x42bdf2
mov edx, dword [esp + 0x60]
push edx
call fcn.00477540
add esp, 4
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x86c]
push 0
push eax
push edx
call fcn.00499a30
add esp, 0xc
test eax, eax
jne 0x42cc84
cmp dword [esp + 0x10], 0x19
jge 0x42cc84
push 0xc
push ebx
call fcn.0042f0b0
add esp, 8
test eax, eax
mov dword [esp + 0x60], eax
je 0x42c878
mov edi, str.JPEG_TN
mov esi, eax
mov ecx, 8
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x42c878
push edx
push edx
push edx
push edx
mov edx, dword [esp + 0x5c]
push pe_nt_image_headers32
mov esi, dword [esp + 0x3c]
lea eax, [esp + 0x1ec]
push eax
mov eax, dword [esp + 0x2c]
push pe_nt_image_headers32
lea ecx, [esp + 0xf4]
push ecx
push edx
push 1
push 1
push 0
push 0
push 0
push 1
push esi
push 0
push eax
mov edx, str.JPEG_SM
mov ecx, ebx
call fcn.00426e90
add esp, 0x48
test esi, esi
mov eax, esi
jne 0x42c5d3
mov eax, 0x5cd6b3
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x1e0]
push edx
add eax, 0x874
push eax
push str._sdisk__s_O_s._s
push 0x400
push esi
call fcn.004776e0
add esp, 0x1c
push esi
call fcn.004774f0
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + ebx*4 + 0x74]
mov edi, eax
lea ebx, [esp + ebx*4 + 0x74]
add esp, 4
test edi, edi
mov dword [esp + 0x20], ebx
je 0x42c6b5
test esi, esi
jne 0x42c647
push 0x7fc
push 1
call fcn.00477460
add esp, 8
test eax, eax
je 0x42c641
mov word [eax], 0xff
test eax, eax
mov esi, eax
je 0x42c6b5
cmp byte [edi], 0
push edi
jne 0x42c657
call fcn.00477540
add esp, 4
jmp 0x42c6b5
call fcn.00476620
add esp, 4
cmp dword [esi + 0x4f0], 0
je 0x42c68e
mov eax, dword [esi + 0x4f0]
test eax, eax
je 0x42c68e
cmp dword [esi + 0xf4], 0
jne 0x42c684
push eax
call fcn.00477540
add esp, 4
mov dword [esi + 0x4f0], 0
mov eax, 0x3c
cmp word [esi], ax
mov dword [esi + 0x4f0], edi
mov dword [esi + 0xf4], 0
jle 0x42c6ab
mov word [esi], ax
cmp word [esi + 2], ax
jge 0x42c6b5
mov word [esi + 2], ax
lea ecx, [esp + 0xd8]
push ecx
mov dword [ebx], esi
call fcn.004774f0
mov edi, eax
add esp, 4
test edi, edi
je 0x42c761
test esi, esi
jne 0x42c6f3
push 0x7fc
push 1
call fcn.00477460
add esp, 8
test eax, eax
je 0x42c6ed
mov word [eax], 0xff
test eax, eax
mov esi, eax
je 0x42c761
cmp byte [edi], 0
push edi
jne 0x42c703
call fcn.00477540
add esp, 4
jmp 0x42c761
call fcn.00476620
add esp, 4
cmp dword [esi + 0x560], 0
je 0x42c73a
mov eax, dword [esi + 0x560]
test eax, eax
je 0x42c73a
cmp dword [esi + 0x164], 0
jne 0x42c730
push eax
call fcn.00477540
add esp, 4
mov dword [esi + 0x560], 0
mov eax, 0x58
cmp word [esi], ax
mov dword [esi + 0x560], edi
mov dword [esi + 0x164], 0
jle 0x42c757
mov word [esi], ax
cmp word [esi + 2], ax
jge 0x42c761
mov word [esi + 2], ax
mov edx, dword [esp + 0x24]
push edx
mov dword [ebx], esi
call fcn.004774f0
mov edi, eax
add esp, 4
test edi, edi
je 0x42c859
xor ebx, ebx
cmp esi, ebx
jne 0x42c7a5
push 0x7fc
push 1
call fcn.00477460
add esp, 8
cmp eax, ebx
je 0x42c798
mov word [eax], 0xff
cmp eax, ebx
mov esi, eax
jne 0x42c7a5
xor esi, esi
jmp 0x42c859
cmp byte [edi], 0
jne 0x42c7b8
push edi
call fcn.00477540
add esp, 4
jmp 0x42c859
push 0x4c
push esi
call fcn.0042f0b0
push eax
push ebx
call fcn.0047d0e0
add esp, 0x10
cmp eax, ebx
je 0x42c804
mov ecx, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42c7f0
test dl, dl
je 0x42c7ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42c7f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x42c7d0
xor eax, eax
jmp 0x42c7f5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x42c804
push edi
call fcn.00477540
add esp, 4
jmp 0x42c859
push edi
call fcn.00476620
add esp, 4
cmp dword [esi + 0x550], ebx
je 0x42c836
mov eax, dword [esi + 0x550]
cmp eax, ebx
je 0x42c836
cmp dword [esi + 0x154], ebx
jne 0x42c830
push eax
call fcn.00477540
add esp, 4
mov dword [esi + 0x550], ebx
mov eax, 0x54
cmp word [esi], ax
mov dword [esi + 0x550], edi
mov dword [esi + 0x154], ebx
jle 0x42c84f
mov word [esi], ax
cmp word [esi + 2], ax
jge 0x42c859
mov word [esi + 2], ax
mov ebx, dword [esp + 0x2c]
mov eax, 0x5fd084
mov ecx, esi
call fcn.00428240
mov ecx, dword [esp + 0x20]
add dword [esp + 0x10], 1
mov dword [ecx], eax
mov eax, dword [esp + 0x60]
push 0
push 0
push 0
push 0
mov esi, dword [esp + 0x38]
push pe_nt_image_headers32
mov edi, dword [esp + 0x28]
lea edx, [esp + 0x1ec]
push edx
mov edx, dword [esp + 0x64]
push pe_nt_image_headers32
lea ecx, [esp + 0xf4]
push ecx
push edx
push 1
push 1
push 0
push 0
push 0
push 1
push esi
push 0
push edi
mov edx, eax
mov ecx, ebx
call fcn.00426e90
mov eax, dword [esp + 0x6c]
push eax
call fcn.004051f0
add esp, 0x4c
test eax, eax
je 0x42c8dc
cmp dword [esp + 0x58], 0
je 0x42c9bb
mov ecx, dword [edi + 0x86c]
push ecx
call fcn.004947e0
add esp, 4
test eax, eax
je 0x42c955
lea edx, [esp + 0xd8]
push str.JPEG_MED
push edx
call fcn.004b3110
add esp, 8
test eax, eax
jne 0x42c921
lea eax, [esp + 0xd8]
push str.JPEG_LRG
push eax
call fcn.004b3110
add esp, 8
test eax, eax
je 0x42c955
push 0x5d9b8c
lea ecx, [esp + 0x1dc]
push pe_nt_image_headers32
push ecx
call fcn.004776e0
add esp, 0xc
push 0x5d95cc
lea edx, [esp + 0xdc]
push pe_nt_image_headers32
push edx
call fcn.004776e0
add esp, 0xc
lea eax, [esp + 0xd8]
push str.PNG_MED
push eax
call fcn.004b3110
add esp, 8
test eax, eax
jne 0x42c987
lea ecx, [esp + 0xd8]
push str.PNG_LRG
push ecx
call fcn.004b3110
add esp, 8
test eax, eax
je 0x42c9bb
push 0x5d9b8c
lea edx, [esp + 0x1dc]
push pe_nt_image_headers32
push edx
call fcn.004776e0
add esp, 0xc
push 0x5d95cc
lea eax, [esp + 0xdc]
push pe_nt_image_headers32
push eax
call fcn.004776e0
add esp, 0xc
test esi, esi
mov eax, esi
jne 0x42c9c6
mov eax, 0x5cd6b3
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x3c]
push eax
push ecx
lea edx, [esp + 0x1e0]
push edx
mov eax, edi
add eax, 0x874
push eax
push str._sdisk__s_O_s._s
push 0x400
push esi
call fcn.004776e0
add esp, 0x1c
push esi
call fcn.004774f0
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + ebx*4 + 0x74]
mov edi, eax
lea ebx, [esp + ebx*4 + 0x74]
add esp, 4
test edi, edi
mov dword [esp + 0x20], ebx
je 0x42caa6
test esi, esi
jne 0x42ca38
push 0x7fc
push 1
call fcn.00477460
add esp, 8
test eax, eax
je 0x42ca32
mov word [eax], 0xff
test eax, eax
mov esi, eax
je 0x42caa6
cmp byte [edi], 0
push edi
jne 0x42ca48
call fcn.00477540
add esp, 4
jmp 0x42caa6
call fcn.00476620
add esp, 4
cmp dword [esi + 0x4f0], 0
je 0x42ca7f
mov eax, dword [esi + 0x4f0]
test eax, eax
je 0x42ca7f
cmp dword [esi + 0xf4], 0
jne 0x42ca75
push eax
call fcn.00477540
add esp, 4
mov dword [esi + 0x4f0], 0
mov eax, 0x3c
cmp word [esi], ax
mov dword [esi + 0x4f0], edi
mov dword [esi + 0xf4], 0
jle 0x42ca9c
mov word [esi], ax
cmp word [esi + 2], ax
jge 0x42caa6
mov word [esi + 2], ax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x86c]
push edx
mov dword [ebx], esi
call fcn.00494c30
add esp, 4
test eax, eax
jle 0x42cb6f
lea eax, [esp + 0xd8]
push eax
call fcn.004774f0
mov edi, eax
add esp, 4
test edi, edi
je 0x42cb6d
test esi, esi
jne 0x42caff
push 0x7fc
push 1
call fcn.00477460
add esp, 8
test eax, eax
je 0x42caf9
mov word [eax], 0xff
test eax, eax
mov esi, eax
je 0x42cb6d
cmp byte [edi], 0
push edi
jne 0x42cb0f
call fcn.00477540
add esp, 4
jmp 0x42cb6d
call fcn.00476620
add esp, 4
cmp dword [esi + 0x560], 0
je 0x42cb46
mov eax, dword [esi + 0x560]
test eax, eax
je 0x42cb46
cmp dword [esi + 0x164], 0
jne 0x42cb3c
push eax
call fcn.00477540
add esp, 4
mov dword [esi + 0x560], 0
mov eax, 0x58
cmp word [esi], ax
mov dword [esi + 0x560], edi
mov dword [esi + 0x164], 0
jle 0x42cb63
mov word [esi], ax
cmp word [esi + 2], ax
jge 0x42cb6d
mov word [esi + 2], ax
mov dword [ebx], esi
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004774f0
mov esi, dword [ebx]
mov edi, eax
add esp, 4
test edi, edi
je 0x42cc69
xor ebx, ebx
cmp esi, ebx
jne 0x42cbb3
push 0x7fc
push 1
call fcn.00477460
add esp, 8
cmp eax, ebx
je 0x42cba6
mov word [eax], 0xff
cmp eax, ebx
mov esi, eax
jne 0x42cbb3
xor ecx, ecx
jmp 0x42cc6b
cmp byte [edi], 0
jne 0x42cbc6
push edi
call fcn.00477540
add esp, 4
jmp 0x42cc69
push 0x4c
push esi
call fcn.0042f0b0
push eax
push ebx
call fcn.0047d0e0
add esp, 0x10
cmp eax, ebx
je 0x42cc14
mov ecx, edi
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42cc00
test dl, dl
je 0x42cbfc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42cc00
add eax, 2
add ecx, 2
test dl, dl
jne 0x42cbe0
xor eax, eax
jmp 0x42cc05
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x42cc14
push edi
call fcn.00477540
add esp, 4
jmp 0x42cc69
push edi
call fcn.00476620
add esp, 4
cmp dword [esi + 0x550], ebx
je 0x42cc46
mov eax, dword [esi + 0x550]
cmp eax, ebx
je 0x42cc46
cmp dword [esi + 0x154], ebx
jne 0x42cc40
push eax
call fcn.00477540
add esp, 4
mov dword [esi + 0x550], ebx
mov eax, 0x54
cmp word [esi], ax
mov dword [esi + 0x550], edi
mov dword [esi + 0x154], ebx
jle 0x42cc5f
mov word [esi], ax
cmp word [esi + 2], ax
jge 0x42cc69
mov word [esi + 2], ax
mov ecx, esi
mov ebx, dword [esp + 0x2c]
mov eax, 0x5fd084
call fcn.00428240
mov edx, dword [esp + 0x20]
add dword [esp + 0x10], 1
mov dword [edx], eax
cmp dword [esp + 0x68], 0
jne 0x42d275
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x86c]
push ecx
call fcn.00494090
add esp, 4
test eax, eax
jne 0x42d275
push eax
mov eax, 0x25
mov ecx, ebx
call fcn.0042fcf0
add esp, 4
test eax, eax
jle 0x42d275
cmp dword [esp + 0x10], 0x19
jge 0x42d275
push 0x27
push ebx
call fcn.0042f0b0
mov edx, dword [esp + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
push edx
push eax
call fcn.0047d0e0
add esp, 0x10
test eax, eax
je 0x42d275
mov edi, str.image_jpeg
mov esi, eax
mov ecx, 0xb
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x42d275
cmp dword [esp + 0x20], edx
je 0x42cd2c
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
push eax
push ecx
push str.JPEG
call fcn.0048fdc0
add esp, 0xc
mov dword [esp + 0x1c], eax
jmp 0x42cd34
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x86c]
push eax
call fcn.00494c30
add esp, 4
test eax, eax
jle 0x42cd97
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004051f0
add esp, 4
test eax, eax
jne 0x42cd97
mov edi, 0x5d95cc
lea esi, [esp + 0xd8]
mov ecx, 2
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x42cd78
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42cd97
cmp dword [esp + 0x1c], eax
je 0x42cd97
mov edx, dword [esp + 0x1c]
push edx
call fcn.00477540
add esp, 4
mov dword [esp + 0x1c], 0
push 0
push 0
push 0
push 0
push pe_nt_image_headers32
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x1ec]
push eax
push pe_nt_image_headers32
lea ecx, [esp + 0xf4]
push ecx
push 0
push 1
push 1
push 0
push 0
push 0
push 1
push esi
push 0
push edx
mov edx, dword [esp + 0x64]
mov ecx, ebx
call fcn.00426e90
mov ecx, dword [esp + 0x68]
add esp, 0x48
test ecx, ecx
jne 0x42cdee
mov ecx, str.160x160
test esi, esi
mov eax, esi
jne 0x42cdf9
mov eax, 0x5cd6b3
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x3c]
push ecx
movsx ecx, byte [esp + 0x1f]
push ecx
mov ecx, dword [esp + 0x1c]
push eax
push edx
lea eax, [esp + 0x1e8]
push eax
add ecx, 0x874
push ecx
push str._sdisk__s_O_s._s_cscale_s
push 0x400
push esi
call fcn.004776e0
add esp, 0x24
push esi
call fcn.004774f0
mov edx, dword [esp + 0x14]
mov esi, dword [esp + edx*4 + 0x74]
mov edi, eax
xor ebx, ebx
add esp, 4
cmp edi, ebx
je 0x42ced7
cmp esi, ebx
jne 0x42ce73
push 0x7fc
push 1
call fcn.00477460
add esp, 8
cmp eax, ebx
je 0x42ce69
mov word [eax], 0xff
cmp eax, ebx
mov esi, eax
jne 0x42ce73
xor esi, esi
jmp 0x42ced7
cmp byte [edi], 0
push edi
jne 0x42ce83
call fcn.00477540
add esp, 4
jmp 0x42ced7
call fcn.00476620
add esp, 4
cmp dword [esi + 0x4f0], ebx
je 0x42ceb4
mov eax, dword [esi + 0x4f0]
cmp eax, ebx
je 0x42ceb4
cmp dword [esi + 0xf4], ebx
jne 0x42ceae
push eax
call fcn.00477540
add esp, 4
mov dword [esi + 0x4f0], ebx
mov eax, 0x3c
cmp word [esi], ax
mov dword [esi + 0x4f0], edi
mov dword [esi + 0xf4], ebx
jle 0x42cecd
mov word [esi], ax
cmp word [esi + 2], ax
jge 0x42ced7
mov word [esi + 2], ax
mov eax, dword [esp + 0x10]
push str.image_jpeg
mov dword [esp + eax*4 + 0x74], esi
call fcn.004774f0
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x42cfd9
cmp esi, ebx
jne 0x42cf1f
push 0x7fc
push 1
call fcn.00477460
add esp, 8
cmp eax, ebx
je 0x42cf12
mov word [eax], 0xff
cmp eax, ebx
mov esi, eax
jne 0x42cf1f
xor esi, esi
jmp 0x42cfd9
cmp byte [edi], 0
jne 0x42cf32
push edi
call fcn.00477540
add esp, 4
jmp 0x42cfd9
push 0x4c
push esi
call fcn.0042f0b0
push eax
push ebx
call fcn.0047d0e0
add esp, 0x10
cmp eax, ebx
je 0x42cf84
mov ecx, edi
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42cf70
test dl, dl
je 0x42cf6c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42cf70
add eax, 2
add ecx, 2
test dl, dl
jne 0x42cf50
xor eax, eax
jmp 0x42cf75
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x42cf84
push edi
call fcn.00477540
add esp, 4
jmp 0x42cfd9
push edi
call fcn.00476620
add esp, 4
cmp dword [esi + 0x550], ebx
je 0x42cfb6
mov eax, dword [esi + 0x550]
cmp eax, ebx
je 0x42cfb6
cmp dword [esi + 0x154], ebx
jne 0x42cfb0
push eax
call fcn.00477540
add esp, 4
mov dword [esi + 0x550], ebx
mov eax, 0x54
cmp word [esi], ax
mov dword [esi + 0x550], edi
mov dword [esi + 0x154], ebx
jle 0x42cfcf
mov word [esi], ax
cmp word [esi + 2], ax
jge 0x42cfd9
mov word [esi + 2], ax
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x86c]
mov ecx, dword [esp + 0x10]
push eax
mov dword [esp + ecx*4 + 0x74], esi
call fcn.00494c30
add esp, 4
test eax, eax
jle 0x42d0a8
lea ecx, [esp + 0xd8]
push ecx
call fcn.004774f0
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x42d0a0
cmp esi, ebx
jne 0x42d03c
push 0x7fc
push 1
call fcn.00477460
add esp, 8
cmp eax, ebx
je 0x42d032
mov word [eax], 0xff
cmp eax, ebx
mov esi, eax
jne 0x42d03c
xor esi, esi
jmp 0x42d0a0
cmp byte [edi], 0
push edi
jne 0x42d04c
call fcn.00477540
add esp, 4
jmp 0x42d0a0
call fcn.00476620
add esp, 4
cmp dword [esi + 0x560], ebx
je 0x42d07d
mov eax, dword [esi + 0x560]
cmp eax, ebx
je 0x42d07d
cmp dword [esi + 0x164], ebx
jne 0x42d077
push eax
call fcn.00477540
add esp, 4
mov dword [esi + 0x560], ebx
mov eax, 0x58
cmp word [esi], ax
mov dword [esi + 0x560], edi
mov dword [esi + 0x164], ebx
jle 0x42d096
mov word [esi], ax
cmp word [esi + 2], ax
jge 0x42d0a0
mov word [esi + 2], ax
mov edx, dword [esp + 0x10]
mov dword [esp + edx*4 + 0x70], esi
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x42d1a6
mov esi, dword [esp + 0x3c]
push eax
push 0x5d9afc
push 0x400
push esi
call fcn.004776e0
push esi
call fcn.004774f0
mov edi, eax
mov eax, dword [esp + 0x24]
mov esi, dword [esp + eax*4 + 0x84]
add esp, 0x14
cmp edi, ebx
je 0x42d19c
cmp esi, ebx
jne 0x42d110
push 0x7fc
push 1
call fcn.00477460
add esp, 8
cmp eax, ebx
je 0x42d103
mov word [eax], 0xff
cmp eax, ebx
mov esi, eax
jne 0x42d110
xor eax, eax
jmp 0x42d19e
cmp byte [edi], 0
push edi
jne 0x42d120
call fcn.00477540
add esp, 4
jmp 0x42d19c
call fcn.00475130
add esp, 4
cmp edx, 1
jg 0x42d15b
jl 0x42d133
cmp eax, ebx
jae 0x42d15b
cmp dword [esi + 0x4f4], ebx
je 0x42d148
push 0x3d
push esi
call fcn.0042f000
add esp, 8
mov esi, eax
push ebx
push edi
mov eax, 0x60
mov ecx, esi
call fcn.0042ee00
add esp, 8
jmp 0x42d19e
push edi
call fcn.00476620
add esp, 4
cmp dword [esi + 0x4f4], ebx
je 0x42d179
push 0x3d
push esi
call fcn.0042f000
add esp, 8
mov esi, eax
mov eax, 0x3d
cmp word [esi], ax
mov dword [esi + 0x4f4], edi
mov dword [esi + 0xf8], ebx
jle 0x42d192
mov word [esi], ax
cmp word [esi + 2], ax
jge 0x42d19c
mov word [esi + 2], ax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword [esp + ecx*4 + 0x70], eax
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x42d25f
push eax
call fcn.004774f0
mov edx, dword [esp + 0x14]
mov esi, dword [esp + edx*4 + 0x74]
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x42d257
cmp esi, ebx
jne 0x42d1f3
push 0x7fc
push 1
call fcn.00477460
add esp, 8
cmp eax, ebx
je 0x42d1e9
mov word [eax], 0xff
cmp eax, ebx
mov esi, eax
jne 0x42d1f3
xor esi, esi
jmp 0x42d257
cmp byte [edi], 0
push edi
jne 0x42d203
call fcn.00477540
add esp, 4
jmp 0x42d257
call fcn.00476620
add esp, 4
cmp dword [esi + 0x50c], ebx
je 0x42d234
mov eax, dword [esi + 0x50c]
cmp eax, ebx
je 0x42d234
cmp dword [esi + 0x110], ebx
jne 0x42d22e
push eax
call fcn.00477540
add esp, 4
mov dword [esi + 0x50c], ebx
mov eax, 0x43
cmp word [esi], ax
mov dword [esi + 0x50c], edi
mov dword [esi + 0x110], ebx
jle 0x42d24d
mov word [esi], ax
cmp word [esi + 2], ax
jge 0x42d257
mov word [esi + 2], ax
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x70], esi
mov eax, dword [esp + 0x1c]
add dword [esp + 0x10], 1
cmp eax, ebx
je 0x42d275
push eax
call fcn.00477540
add esp, 4
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00477540
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x74]
add esp, 4
push edx
call fcn.0042eb50
mov ecx, dword [esp + 0x2e0]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b2f95
mov esp, ebp
pop ebp
ret