Function at 0x401000
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports
Terminate process

Disassembly:
sub esp, 0x3dc
mov dl, byte [0x4031bc]
xor eax, eax
push ebx
push ebp
mov byte [esp + 0x1f8], 0x4f
mov byte [esp + 0x1f9], 0x44
mov byte [esp + 0x1fa], 0x20
mov byte [esp + 0x1fb], 0x20
mov byte [esp + 0x204], dl
push esi
push edi
mov esi, 1
mov dword [esp + 0x204], esi
mov dword [esp + 0x208], esi
mov ecx, 0xb
lea edi, [esp + 0x20d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x23c], dl
mov ecx, 0xb
lea edi, [esp + 0x23d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [str.AMQ.]
mov cx, word [0x403198]
mov dword [esp + 0x26c], eax
xor eax, eax
mov word [esp + 0x270], cx
mov ecx, 0xa
lea edi, [esp + 0x272]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x29d], eax
mov dword [esp + 0x2a1], eax
mov word [esp + 0x2a5], ax
mov byte [esp + 0x29c], dl
mov byte [esp + 0x2a7], al
mov dword [esp + 0x2a8], ebx
mov dword [esp + 0x2ac], ebx
mov dword [esp + 0x2b0], ebx
mov dword [esp + 0x2b4], ebx
mov dword [esp + 0x2b8], ebx
mov dword [esp + 0x2bc], ebx
mov dword [esp + 0x2c0], ebx
mov dword [esp + 0x2c4], ebx
mov byte [esp + 0x2c8], bl
mov byte [esp + 0x2c9], bl
mov byte [esp + 0x2ca], bl
mov byte [esp + 0x2cb], bl
mov byte [esp + 0x2cc], bl
mov byte [esp + 0x2cd], bl
mov byte [esp + 0x2ce], bl
mov byte [esp + 0x2cf], bl
mov byte [esp + 0x2d0], bl
mov byte [esp + 0x2d1], bl
mov byte [esp + 0x2d2], bl
mov byte [esp + 0x2d3], bl
mov byte [esp + 0x2d4], bl
mov byte [esp + 0x2d5], bl
mov byte [esp + 0x2d6], bl
mov byte [esp + 0x2d7], bl
mov byte [esp + 0x2d8], bl
mov byte [esp + 0x2d9], bl
mov byte [esp + 0x2da], bl
mov byte [esp + 0x2db], bl
mov byte [esp + 0x2dc], bl
mov byte [esp + 0x2dd], bl
mov byte [esp + 0x2de], bl
mov byte [esp + 0x2df], bl
mov byte [esp + 0x2e0], bl
mov byte [esp + 0x2e1], bl
mov byte [esp + 0x2e2], bl
mov byte [esp + 0x2e3], bl
mov byte [esp + 0x2e4], bl
mov byte [esp + 0x2e5], bl
mov byte [esp + 0x2e6], bl
mov byte [esp + 0x2e7], bl
mov byte [esp + 0x2e8], bl
mov byte [esp + 0x2e9], bl
mov byte [esp + 0x2ea], bl
mov byte [esp + 0x2eb], bl
mov byte [esp + 0x2ec], bl
mov byte [esp + 0x2ed], bl
mov byte [esp + 0x2ee], bl
mov byte [esp + 0x2ef], bl
mov byte [esp + 0x2f0], dl
mov ecx, 0xb
lea edi, [esp + 0x2f1]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x320], dl
mov ecx, 0xb
lea edi, [esp + 0x321]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
or ebp, 0xffffffff
stosb byte es:[edi], al
mov byte [esp + 0x30], 0x4d
mov byte [esp + 0x31], 0x44
mov byte [esp + 0x32], 0x20
mov byte [esp + 0x33], 0x20
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 8
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 0x222
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x50], 0x20
mov byte [esp + 0x51], 0x20
mov byte [esp + 0x52], 0x20
mov byte [esp + 0x53], 0x20
mov byte [esp + 0x54], 0x20
mov byte [esp + 0x55], 0x20
mov byte [esp + 0x56], 0x20
mov byte [esp + 0x57], 0x20
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], 2
mov byte [esp + 0x60], bl
mov byte [esp + 0x61], bl
mov byte [esp + 0x62], bl
mov byte [esp + 0x63], bl
mov byte [esp + 0x64], bl
mov byte [esp + 0x65], bl
mov byte [esp + 0x66], bl
mov byte [esp + 0x67], bl
mov byte [esp + 0x68], bl
mov byte [esp + 0x69], bl
mov byte [esp + 0x6a], bl
mov byte [esp + 0x6b], bl
mov byte [esp + 0x6c], bl
mov byte [esp + 0x6d], bl
mov byte [esp + 0x6e], bl
mov byte [esp + 0x6f], bl
mov byte [esp + 0x70], bl
mov byte [esp + 0x71], bl
mov byte [esp + 0x72], bl
mov byte [esp + 0x73], bl
mov byte [esp + 0x74], bl
mov byte [esp + 0x75], bl
mov byte [esp + 0x76], bl
mov byte [esp + 0x77], bl
mov byte [esp + 0x78], bl
mov byte [esp + 0x79], bl
mov byte [esp + 0x7a], bl
mov byte [esp + 0x7b], bl
mov byte [esp + 0x7c], bl
mov byte [esp + 0x7d], bl
mov byte [esp + 0x7e], bl
mov byte [esp + 0x7f], bl
mov byte [esp + 0x80], bl
mov byte [esp + 0x81], bl
mov byte [esp + 0x82], bl
mov byte [esp + 0x83], bl
mov byte [esp + 0x84], bl
xor eax, eax
mov byte [esp + 0x85], bl
mov byte [esp + 0x86], bl
mov byte [esp + 0x87], bl
mov byte [esp + 0x88], bl
mov byte [esp + 0x89], bl
mov byte [esp + 0x8a], bl
mov byte [esp + 0x8b], bl
mov byte [esp + 0x8c], bl
mov byte [esp + 0x8d], bl
mov byte [esp + 0x8e], bl
mov byte [esp + 0x8f], bl
mov dword [esp + 0x90], ebx
mov byte [esp + 0x94], dl
mov ecx, 0xb
lea edi, [esp + 0x95]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0xc4], dl
mov ecx, 0xb
lea edi, [esp + 0xc5]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor ecx, ecx
mov dword [esp + 0xf5], ecx
mov dword [esp + 0xf9], ecx
mov word [esp + 0xfd], cx
mov byte [esp + 0xff], cl
xor eax, eax
mov byte [esp + 0xf4], dl
mov byte [esp + 0x100], bl
mov byte [esp + 0x101], bl
mov byte [esp + 0x102], bl
mov byte [esp + 0x103], bl
mov byte [esp + 0x104], bl
mov byte [esp + 0x105], bl
mov byte [esp + 0x106], bl
mov byte [esp + 0x107], bl
mov byte [esp + 0x108], bl
mov byte [esp + 0x109], bl
mov byte [esp + 0x10a], bl
mov byte [esp + 0x10b], bl
mov byte [esp + 0x10c], bl
mov byte [esp + 0x10d], bl
mov byte [esp + 0x10e], bl
mov byte [esp + 0x10f], bl
mov byte [esp + 0x110], bl
mov byte [esp + 0x111], bl
mov byte [esp + 0x112], bl
mov byte [esp + 0x113], bl
mov byte [esp + 0x114], bl
mov byte [esp + 0x115], bl
mov byte [esp + 0x116], bl
mov byte [esp + 0x117], bl
mov byte [esp + 0x118], bl
mov byte [esp + 0x119], bl
mov byte [esp + 0x11a], bl
mov byte [esp + 0x11b], bl
mov byte [esp + 0x11c], bl
mov byte [esp + 0x11d], bl
mov byte [esp + 0x11e], bl
mov byte [esp + 0x11f], bl
mov byte [esp + 0x120], dl
mov ecx, 7
lea edi, [esp + 0x121]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov dword [esp + 0x140], ebx
mov byte [esp + 0x144], dl
mov ecx, 6
lea edi, [esp + 0x145]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [esp + 0x160], dl
xor eax, eax
mov dword [esp + 0x161], eax
mov word [esp + 0x165], ax
xor ecx, ecx
mov byte [esp + 0x167], al
mov word [esp + 0x171], ax
mov dword [esp + 0x169], ecx
mov word [esp + 0x16d], cx
mov byte [esp + 0x16f], cl
mov dword [esp + 0x1a0], esi
mov byte [esp + 0x19c], 0x47
mov byte [esp + 0x19d], 0x4d
mov byte [esp + 0x19e], 0x4f
mov byte [esp + 0x19f], 0x20
mov dword [esp + 0x1a4], ebx
mov dword [esp + 0x1a8], ebx
mov dword [esp + 0x1ac], ebx
mov dword [esp + 0x1b0], ebx
mov byte [esp + 0x1b4], dl
mov byte [esp + 0x173], al
mov ecx, 0xb
lea edi, [esp + 0x1b5]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [esp + 0x18c], esi
mov esi, dword [sym.imp.MSVCRT.dll_printf]
push str.Sample_AMQSGET0_start_n
mov byte [esp + 0x16c], dl
mov byte [esp + 0x174], dl
mov byte [esp + 0x178], bl
mov byte [esp + 0x179], bl
mov byte [esp + 0x17a], bl
mov byte [esp + 0x17b], bl
mov byte [esp + 0x17c], bl
mov byte [esp + 0x17d], bl
mov byte [esp + 0x17e], bl
mov byte [esp + 0x17f], bl
mov byte [esp + 0x180], bl
mov byte [esp + 0x181], bl
mov byte [esp + 0x182], bl
mov byte [esp + 0x183], bl
mov byte [esp + 0x184], bl
mov byte [esp + 0x185], bl
mov byte [esp + 0x186], bl
mov byte [esp + 0x187], bl
mov byte [esp + 0x188], bl
mov byte [esp + 0x189], bl
mov byte [esp + 0x18a], bl
mov byte [esp + 0x18b], bl
mov byte [esp + 0x18c], bl
mov byte [esp + 0x18d], bl
mov byte [esp + 0x18e], bl
mov byte [esp + 0x18f], bl
mov dword [esp + 0x194], ebx
mov dword [esp + 0x198], ebx
mov dword [esp + 0x19c], ebp
mov dword [esp + 0x1e8], 3
mov byte [esp + 0x1ec], 0x20
mov byte [esp + 0x1ed], 0x20
mov byte [esp + 0x1ee], 0x20
mov byte [esp + 0x1ef], 0x20
mov byte [esp + 0x1f0], bl
mov byte [esp + 0x1f1], bl
mov byte [esp + 0x1f2], bl
mov byte [esp + 0x1f3], bl
mov byte [esp + 0x1f4], bl
mov byte [esp + 0x1f5], bl
mov byte [esp + 0x1f6], bl
mov byte [esp + 0x1f7], bl
mov byte [esp + 0x1f8], bl
mov byte [esp + 0x1f9], bl
mov byte [esp + 0x1fa], bl
mov byte [esp + 0x1fb], bl
mov byte [esp + 0x1fc], bl
mov byte [esp + 0x1fd], bl
mov byte [esp + 0x1fe], bl
mov byte [esp + 0x1ff], bl
mov dword [esp + 0x200], ebp
call esi
mov edx, dword [esp + 0x3f4]
add esp, 4
cmp edx, 2
jge 0x40176c
push str.Required_parameter_missing___queue_name_n
call esi
add esp, 4
push 0x63
call dword [sym.imp.MSVCRT.dll_exit]
mov ecx, dword [esp + 0x3f4]
mov edi, dword [ecx + 4]
xor eax, eax
mov ecx, ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
lea esi, [esp + 0x20c]
mov dword [esp + 0x28], esi
shr ecx, 2
mov esi, edi
mov edi, dword [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
cmp edx, 2
rep movsb byte es:[edi], byte [esi]
mov byte [esp + 0x350], bl
jle 0x4017d8
mov eax, dword [esp + 0x3f4]
mov edi, dword [eax + 8]
xor eax, eax
mov ecx, ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
lea edx, [esp + 0x350]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x35c]
push ecx
call sub.MQIC32.dll_MQCONN
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp eax, 2
jne 0x40181e
mov edx, dword [esp + 0x1c]
push edx
push str.MQCONN_ended_with_reason_code__d_n
call dword [sym.imp.MSVCRT.dll_printf]
mov eax, dword [esp + 0x24]
add esp, 8
push eax
call dword [sym.imp.MSVCRT.dll_exit]
cmp dword [esp + 0x3f0], 3
jle 0x40184e
mov ecx, dword [esp + 0x3f4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
mov ebp, dword [sym.imp.MSVCRT.dll_printf]
mov esi, eax
push esi
push str.open__options_are__d_n
call ebp
add esp, 0xc
jmp 0x401859
mov ebp, dword [sym.imp.MSVCRT.dll_printf]
mov esi, 0x2001
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x210]
push eax
push ecx
call sub.MQIC32.dll_MQOPEN
mov eax, dword [esp + 0x2c]
add esp, 0x18
cmp eax, ebx
je 0x401891
push eax
push str.MQOPEN_ended_with_reason_code__d_n
call ebp
add esp, 8
mov eax, dword [esp + 0x20]
cmp eax, 2
jne 0x4018a8
push str.unable_to_open_queue_for_input_n
call ebp
mov eax, dword [esp + 0x24]
add esp, 4
cmp eax, 2
mov dword [esp + 0x10], eax
mov dword [esp + 0x1a4], 0x4001
mov dword [esp + 0x1a8], 0x3a98
je 0x401a06
mov ecx, 6
mov esi, 0x4031a0
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x14]
push edx
mov ecx, 6
mov esi, 0x4031a0
lea edi, [esp + 0x7c]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x390]
push edx
mov edx, dword [esp + 0x34]
push 0x64
lea eax, [esp + 0x1b0]
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x48]
push ecx
push edx
push eax
mov dword [esp + 0x6c], 0x222
mov dword [esp + 0x70], ebx
call sub.MQIC32.dll_MQGET
mov eax, dword [esp + 0x38]
add esp, 0x24
cmp eax, ebx
je 0x401960
cmp eax, 0x7f1
jne 0x40194a
push str.no_more_messages_n
call ebp
add esp, 4
jmp 0x401960
push eax
push str.MQGET_ended_with_reason_code__d_n
call ebp
mov eax, dword [esp + 0x1c]
add esp, 8
cmp eax, 0x820
je 0x401997
mov eax, dword [esp + 0x10]
mov esi, 2
cmp eax, esi
je 0x4019a4
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x384]
push edx
push str.message___s__n
mov byte [esp + ecx + 0x38c], bl
call ebp
mov eax, dword [esp + 0x18]
add esp, 8
cmp eax, esi
je 0x4019a4
jmp 0x4018cb
mov dword [esp + 0x10], 2
mov esi, 2
cmp dword [esp + 0x20], esi
je 0x401a06
cmp dword [esp + 0x3f0], 4
jle 0x4019d4
mov eax, dword [esp + 0x3f4]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
mov esi, eax
push esi
push str.close_options_are__d_n
call ebp
add esp, 0xc
jmp 0x4019d6
xor esi, esi
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
push esi
lea ecx, [esp + 0x30]
push ecx
push edx
call sub.MQIC32.dll_MQCLOSE
mov eax, dword [esp + 0x28]
add esp, 0x14
cmp eax, ebx
je 0x401a06
push eax
push str.MQCLOSE_ended_with_reason_code__d_n
call ebp
add esp, 8
cmp dword [esp + 0x1c], 0x7d2
je 0x401a3a
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
call sub.MQIC32.dll_MQDISC
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, ebx
je 0x401a3a
push eax
push str.MQDISC_ended_with_reason_code__d_n
call ebp
add esp, 8
push str.Sample_AMQSGET0_end_n
call ebp
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3dc
ret