Function at 0x413a40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov eax, dword [0x55930c]
xor eax, esp
mov dword [esp + 0xa8], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0x10], eax
test esi, esi
je 0x413f38
push 0
mov ecx, esi
call fcn.0041be00
add esp, 4
mov bl, 0x73
lea ecx, [ecx]
mov byte [esp + 0x64], 0x49
mov byte [esp + 0x65], 0x48
mov byte [esp + 0x66], 0x44
mov byte [esp + 0x67], 0x52
mov byte [esp + 0x14], 0x49
mov byte [esp + 0x15], 0x44
mov byte [esp + 0x16], 0x41
mov byte [esp + 0x17], 0x54
mov byte [esp + 0x34], 0x49
mov byte [esp + 0x35], 0x45
mov byte [esp + 0x36], 0x4e
mov byte [esp + 0x37], 0x44
mov byte [esp + 0x1c], 0x50
mov byte [esp + 0x1d], 0x4c
mov byte [esp + 0x1e], 0x54
mov byte [esp + 0x1f], 0x45
mov byte [esp + 0x74], 0x62
mov byte [esp + 0x75], 0x4b
mov byte [esp + 0x76], 0x47
mov byte [esp + 0x77], 0x44
mov byte [esp + 0x44], 0x63
mov byte [esp + 0x45], 0x48
mov byte [esp + 0x46], 0x52
mov byte [esp + 0x47], 0x4d
mov byte [esp + 0x94], 0x67
mov byte [esp + 0x95], 0x41
mov byte [esp + 0x96], 0x4d
mov byte [esp + 0x97], 0x41
mov byte [esp + 0x54], 0x68
mov byte [esp + 0x55], 0x49
mov byte [esp + 0x56], 0x53
mov byte [esp + 0x57], 0x54
mov byte [esp + 0x5c], 0x69
mov byte [esp + 0x5d], 0x43
mov byte [esp + 0x5e], 0x43
mov byte [esp + 0x5f], 0x50
mov byte [esp + 0x84], 0x6f
mov byte [esp + 0x85], 0x46
mov byte [esp + 0x86], 0x46
mov byte [esp + 0x87], bl
mov byte [esp + 0x24], 0x70
mov byte [esp + 0x25], 0x43
mov byte [esp + 0x26], 0x41
mov byte [esp + 0x27], 0x4c
mov byte [esp + 0x2c], 0x70
mov byte [esp + 0x2d], 0x48
mov byte [esp + 0x2e], 0x59
mov byte [esp + 0x2f], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], 0x42
mov byte [esp + 0x3e], 0x49
mov byte [esp + 0x3f], 0x54
mov byte [esp + 0xa4], bl
mov byte [esp + 0xa5], 0x43
mov byte [esp + 0xa6], 0x41
mov byte [esp + 0xa7], 0x4c
mov byte [esp + 0x6c], bl
mov byte [esp + 0x6d], 0x50
mov byte [esp + 0x6e], 0x4c
mov byte [esp + 0x6f], 0x54
mov byte [esp + 0x4c], bl
mov byte [esp + 0x4d], 0x52
mov byte [esp + 0x4e], 0x47
mov byte [esp + 0x4f], 0x42
mov byte [esp + 0x7c], 0x74
mov byte [esp + 0x7d], 0x45
mov byte [esp + 0x7e], 0x58
mov byte [esp + 0x7f], 0x74
mov byte [esp + 0x8c], 0x74
mov byte [esp + 0x8d], 0x49
mov byte [esp + 0x8e], 0x4d
mov byte [esp + 0x8f], 0x45
mov byte [esp + 0x9c], 0x74
mov byte [esp + 0x9d], 0x52
mov byte [esp + 0x9e], 0x4e
mov byte [esp + 0x9f], 0x53
mov byte [esp + 0xac], 0x7a
mov byte [esp + 0xad], 0x54
mov byte [esp + 0xae], 0x58
mov byte [esp + 0xaf], 0x74
mov ecx, esi
call fcn.0041bcb0
mov edi, eax
mov eax, dword [esi + 0x11c]
cmp eax, dword [esp + 0x64]
jne 0x413c7c
mov ecx, dword [esp + 0x10]
push edi
push ecx
mov ecx, esi
call fcn.0041c550
add esp, 8
jmp 0x413f2e
cmp eax, dword [esp + 0x34]
jne 0x413cba
mov eax, dword [esi + 0x68]
test al, 1
je 0x413c8d
test al, 4
jne 0x413c9b
push esi
mov ecx, str.No_image_in_file
call fcn.0041ff30
add esp, 4
or dword [esi + 0x68], 0x18
test edi, edi
je 0x413cad
mov ecx, str.Incorrect_IEND_chunk_length
call fcn.0041fff0
push edi
mov ecx, esi
call fcn.0041be00
jmp 0x413f2b
mov ecx, dword [esi + 0x220]
test ecx, ecx
jle 0x413cec
lea edx, [ecx + ecx*4]
mov ecx, dword [esi + 0x224]
lea edx, [edx + ecx - 5]
mov ecx, dword [esi + 0x220]
test ecx, ecx
je 0x413cec
jmp 0x413ce0
cmp eax, dword [edx]
je 0x413d1a
dec ecx
sub edx, 5
test ecx, ecx
jne 0x413ce0
cmp eax, dword [esp + 0x14]
jne 0x413d6d
test edi, edi
ja 0x413cff
test dword [esi + 0x68], 0x2000
je 0x413d0d
push esi
mov ecx, str.Too_many_IDATs_found
call fcn.0041ff30
add esp, 4
push edi
mov ecx, esi
call fcn.0041be00
jmp 0x413f2b
movzx ecx, byte [edx + 4]
test ecx, ecx
je 0x413cec
cmp eax, dword [esp + 0x14]
jne 0x413d43
test edi, edi
ja 0x413d35
test dword [esi + 0x68], 0x2000
je 0x413d43
push esi
mov ecx, str.Too_many_IDATs_found
call fcn.0041ff30
add esp, 4
mov edx, dword [esp + 0x10]
push edx
mov ecx, edi
mov edx, esi
call fcn.0041e9f0
mov eax, dword [esi + 0x11c]
add esp, 4
cmp eax, dword [esp + 0x1c]
jne 0x413f2e
or dword [esi + 0x68], 2
jmp 0x413f2e
cmp eax, dword [esp + 0x1c]
jne 0x413d86
mov ecx, dword [esp + 0x10]
push ecx
mov eax, edi
mov ecx, esi
call fcn.0041c720
jmp 0x413f2b
cmp eax, dword [esp + 0x74]
jne 0x413d9f
mov edx, dword [esp + 0x10]
push edx
mov ecx, edi
mov edx, esi
call fcn.0041d9a0
jmp 0x413f2b
cmp eax, dword [esp + 0x44]
jne 0x413db8
mov eax, dword [esp + 0x10]
push eax
mov ecx, edi
mov edx, esi
call fcn.0041cb70
jmp 0x413f2b
cmp eax, dword [esp + 0x94]
jne 0x413dd4
mov ecx, dword [esp + 0x10]
push ecx
mov eax, edi
mov ecx, esi
call fcn.0041c8c0
jmp 0x413f2b
cmp eax, dword [esp + 0x54]
jne 0x413ded
mov edx, dword [esp + 0x10]
push edx
mov ecx, edi
mov edx, esi
call fcn.0041dbc0
jmp 0x413f2b
cmp eax, dword [esp + 0x84]
jne 0x413e09
mov eax, dword [esp + 0x10]
push eax
mov ecx, edi
mov edx, esi
call fcn.0041de10
jmp 0x413f2b
cmp eax, dword [esp + 0x24]
jne 0x413e22
mov ecx, dword [esp + 0x10]
push ecx
mov eax, edi
mov ecx, esi
call fcn.0041df20
jmp 0x413f2b
cmp eax, dword [esp + 0xa4]
jne 0x413e3e
mov edx, dword [esp + 0x10]
push edx
mov eax, edi
mov ecx, esi
call fcn.0041e2c0
jmp 0x413f2b
cmp eax, dword [esp + 0x2c]
jne 0x413e57
mov eax, dword [esp + 0x10]
push eax
mov ecx, edi
mov edx, esi
call fcn.0041dd00
jmp 0x413f2b
cmp eax, dword [esp + 0x3c]
jne 0x413e70
mov ecx, dword [esp + 0x10]
push ecx
mov eax, edi
mov ecx, esi
call fcn.0041ca20
jmp 0x413f2b
cmp eax, dword [esp + 0x4c]
jne 0x413e89
mov edx, dword [esp + 0x10]
push edx
mov eax, edi
mov ecx, esi
call fcn.0041cf70
jmp 0x413f2b
cmp eax, dword [esp + 0x5c]
jne 0x413ea2
mov eax, dword [esp + 0x10]
push eax
mov eax, edi
mov ecx, esi
call fcn.0041d140
jmp 0x413f2b
cmp eax, dword [esp + 0x6c]
jne 0x413eb8
mov ecx, dword [esp + 0x10]
push ecx
mov eax, edi
mov ecx, esi
call fcn.0041d420
jmp 0x413f2b
cmp eax, dword [esp + 0x7c]
jne 0x413ed0
mov edx, dword [esp + 0x10]
push edi
push edx
mov eax, esi
call fcn.0041e5c0
add esp, 8
jmp 0x413f2e
cmp eax, dword [esp + 0x8c]
jne 0x413ee9
mov eax, dword [esp + 0x10]
push eax
mov ecx, edi
mov edx, esi
call fcn.0041e4a0
jmp 0x413f2b
cmp eax, dword [esp + 0x9c]
jne 0x413f02
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, edi
mov edx, esi
call fcn.0041d790
jmp 0x413f2b
cmp eax, dword [esp + 0xac]
jne 0x413f1d
mov edx, dword [esp + 0x10]
push edi
push edx
mov eax, esi
call fcn.0041e7a0
add esp, 8
jmp 0x413f2e
mov eax, dword [esp + 0x10]
push eax
mov ecx, edi
mov edx, esi
call fcn.0041e9f0
add esp, 4
test byte [esi + 0x68], 0x10
je 0x413a80
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004e9752
mov esp, ebp
pop ebp
ret