Function at 0x420370
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x174
mov eax, dword [0x603144]
xor eax, esp
mov dword [esp + 0x170], eax
mov eax, dword [0x608688]
push esi
push edi
mov edi, dword [esp + 0x184]
mov esi, dword [eax + 0x3c]
add esi, eax
push 0xf8
push esi
call fcn.00404450
add esp, 8
test eax, eax
jne 0x420da8
push ebx
movzx ebx, word [esi + 0x14]
add ebx, esi
push ebp
push 0x28
lea ebp, [ebx + 0x18]
push ebp
call fcn.00404450
add esp, 8
test eax, eax
jne 0x420da6
cmp byte [esp + 0x188], al
je 0x4208f3
movzx eax, word [esi + 6]
xor bl, bl
mov dword [esp + 0x1c], eax
xor edi, edi
mov eax, dword [0x608654]
mov byte [esp + 0x13], bl
test eax, eax
je 0x4203f8
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [0x60769c]
mov dl, 1
call fcn.0041e130
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 6
push eax
push 0
push 0x1061
push dword [0x608654]
xorps xmm0, xmm0
mov dword [esp + 0x34], edi
movups xmmword [esp + 0x40], xmm0
mov dword [esp + 0x3c], str.Indx
mov dword [esp + 0x38], edi
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x20]
mov dword [esp + 0x2c], str.Name
push eax
push 1
push 0x1061
push dword [0x608654]
mov dword [esp + 0x38], 0x4b
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x20]
mov dword [esp + 0x2c], str.VirtualAddress
push eax
push 2
push 0x1061
push dword [0x608654]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x20]
mov dword [esp + 0x2c], str.VirtualSize
push eax
push 3
push 0x1061
push dword [0x608654]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x20]
mov dword [esp + 0x2c], str.RawAddress
push eax
push 4
push 0x1061
push dword [0x608654]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x20]
mov dword [esp + 0x2c], str.RawSize
push eax
push 5
push 0x1061
push dword [0x608654]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x20]
mov dword [esp + 0x2c], str.PtrToRelocs
push eax
push 6
push 0x1061
push dword [0x608654]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x20]
mov dword [esp + 0x2c], str.PtrToLineNums
push eax
push 7
push 0x1061
push dword [0x608654]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x20]
mov dword [esp + 0x2c], str.NumOfRelocs
push eax
push 8
push 0x1061
push dword [0x608654]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x20]
mov dword [esp + 0x2c], str.NumbOfLineNums
push eax
push 9
push 0x1061
push dword [0x608654]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x2c], str.Characteristics
lea eax, [esp + 0x20]
push eax
push 0xa
push 0x1061
push dword [0x608654]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x608688]
push 0
push 0
push 0xb
mov ecx, dword [eax + 0x3c]
push dword [0x608654]
mov esi, dword [ecx + eax + 0x38]
mov eax, dword [ecx + eax + 0x3c]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_SendMessageW]
add ebp, 2
movzx eax, byte [ebp - 2]
xorps xmm0, xmm0
push dword [ebp + 0xa]
mov word [esp + 0x44], ax
movzx eax, byte [ebp - 1]
mov word [esp + 0x46], ax
movzx eax, byte [ebp]
mov word [esp + 0x48], ax
movzx eax, byte [ebp + 1]
mov word [esp + 0x4a], ax
movzx eax, byte [ebp + 2]
mov word [esp + 0x4c], ax
movzx eax, byte [ebp + 3]
mov word [esp + 0x4e], ax
movzx eax, byte [ebp + 4]
mov word [esp + 0x50], ax
movzx eax, byte [ebp + 5]
mov word [esp + 0x52], ax
lea eax, [esp + 0x164]
push str._08X
push eax
movlpd qword [esp + 0x5c], xmm0
movlpd qword [esp + 0x64], xmm0
call fcn.0041d340
push dword [ebp + 6]
lea eax, [esp + 0x150]
push str._08X
push eax
call fcn.0041d340
push dword [ebp + 0xe]
lea eax, [esp + 0x11c]
push str._08X
push eax
call fcn.0041d340
push dword [ebp + 0x12]
lea eax, [esp + 0x148]
push str._08X
push eax
call fcn.0041d340
push dword [ebp + 0x16]
lea eax, [esp + 0x114]
push str._08X
push eax
call fcn.0041d340
push dword [ebp + 0x1a]
lea eax, [esp + 0x100]
push str._08X
push eax
call fcn.0041d340
movzx eax, word [ebp + 0x1e]
add esp, 0x48
push eax
lea eax, [esp + 0xa4]
push str._04X
push eax
call fcn.0041d340
movzx eax, word [ebp + 0x20]
push eax
lea eax, [esp + 0x90]
push str._04X
push eax
call fcn.0041d340
push dword [ebp + 0x22]
lea eax, [esp + 0x7c]
push str._08X
push eax
call fcn.0041d340
mov eax, dword [ebp + 0x22]
add esp, 0x24
and eax, 0x80000020
cmp eax, 0x80000020
je 0x4207b4
lea ecx, [esi - 1]
test dword [ebp + 0xa], ecx
jne 0x4207b4
mov eax, dword [esp + 0x18]
dec eax
test dword [ebp + 0x12], eax
jne 0x4207b4
mov esi, dword [ebp + 0xe]
test eax, esi
jne 0x4207b4
mov eax, dword [esp + 0x14]
not ecx
mov edx, dword [ebp + 6]
dec eax
add eax, edx
and eax, ecx
cmp esi, eax
ja 0x4207b4
cmp edx, eax
ja 0x4207b4
mov dx, word [esp + 0x40]
mov ecx, dword [esp + 0x40]
test dx, dx
je 0x42073a
lea eax, [ecx - 0x20]
cmp ax, 0x5e
ja 0x4207b4
cmp word [esp + 0x42], 0
je 0x42074b
lea eax, [ecx - 0x20]
cmp ax, 0x5e
ja 0x4207b4
cmp word [esp + 0x44], 0
je 0x42075c
lea eax, [ecx - 0x20]
cmp ax, 0x5e
ja 0x4207b4
cmp word [esp + 0x46], 0
je 0x42076d
lea eax, [ecx - 0x20]
cmp ax, 0x5e
ja 0x4207b4
cmp word [esp + 0x48], 0
je 0x42077e
lea eax, [ecx - 0x20]
cmp ax, 0x5e
ja 0x4207b4
cmp word [esp + 0x4a], 0
je 0x42078f
lea eax, [ecx - 0x20]
cmp ax, 0x5e
ja 0x4207b4
cmp word [esp + 0x4c], 0
je 0x4207a0
lea eax, [ecx - 0x20]
cmp ax, 0x5e
ja 0x4207b4
cmp word [esp + 0x4e], 0
je 0x4207e4
cmp dx, 0x20
jb 0x4207b4
cmp dx, 0x7e
jbe 0x4207e4
push 0x10
call fcn.00581a1c
mov dword [0x607668], eax
add esp, 4
movzx ecx, bl
mov dword [eax], ecx
mov eax, dword [0x607668]
mov dword [eax + 8], 0x5eea
mov eax, dword [0x607668]
mov dword [eax + 0xc], edi
mov edi, dword [0x607668]
jmp 0x420854
mov ebx, 1
mov esi, 0x6020a8
nop
test ebx, ebx
je 0x420850
mov eax, dword [esi - 4]
lea ecx, [esp + 0x40]
sub esi, 4
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x420826
test dx, dx
je 0x420822
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x420826
add ecx, 4
add eax, 4
test dx, dx
jne 0x420800
xor ecx, ecx
jmp 0x42082b
sbb ecx, ecx
or ecx, 1
xor eax, eax
test ecx, ecx
cmovne eax, ebx
mov ebx, eax
cmp esi, 0x602060
jne 0x4207f0
test ebx, ebx
je 0x420850
push 0x10
call fcn.00581a1c
mov bl, byte [esp + 0x17]
jmp 0x4207bb
mov bl, byte [esp + 0x13]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0xcc]
push eax
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x15c]
push eax
lea eax, [esp + 0x180]
push eax
lea eax, [esp + 0x64]
push eax
push 0xa
movzx eax, bl
push eax
push dword [0x608654]
call fcn.00421030
add ebp, 0x28
inc bl
push 0x28
mov byte [esp + 0x4b], bl
lea eax, [ebp - 2]
push eax
call fcn.00404450
add esp, 0x3c
test eax, eax
jne 0x4208dc
mov esi, dword [esp + 0x14]
movzx eax, bl
cmp ax, word [esp + 0x1c]
jb 0x4205b2
push 0
push 1
push 0xb
push dword [0x608654]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x420da6
cmp byte [esp + 0x190], 0
lea edi, [edi + edi*4]
lea edi, [edi + 3]
lea edi, [ebx + edi*8]
je 0x420934
push edi
push 0x5aeb1c
push 0x6083a8
call fcn.0041d430
mov edx, dword [edi + 0x14]
add esp, 0xc
add edx, dword [0x608688]
mov ecx, 0x6083a8
push dword [edi + 0x10]
call fcn.004051e0
jmp 0x420da6
mov eax, dword [0x608658]
test eax, eax
jne 0x4209fd
mov ecx, dword [0x60769c]
xor dl, dl
call fcn.0041e130
lea eax, [esp + 0x60]
mov dword [esp + 0x60], 6
push eax
push 0
push 0x1061
push dword [0x608658]
xorps xmm0, xmm0
mov dword [esp + 0x74], 0
movups xmmword [esp + 0x80], xmm0
mov dword [esp + 0x7c], str.Indx
mov dword [esp + 0x78], 0
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x60]
mov dword [esp + 0x6c], str.Member
push eax
push 1
push 0x1061
push dword [0x608658]
mov dword [esp + 0x78], 0x64
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x60]
mov dword [esp + 0x6c], str.Value
push eax
push 2
push 0x1061
push dword [0x608658]
mov dword [esp + 0x78], 0x12c
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x60]
mov dword [esp + 0x6c], str.Comment
push eax
push 3
push 0x1061
push dword [0x608658]
jmp 0x420a07
push 0
push 0
push 0x1009
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [0x608658]
xor edx, edx
push 0x5acf10
push 0x5acf10
push str._Entropy
call fcn.004211a0
mov ecx, dword [0x608658]
mov edx, 1
push 0x5acf10
push 0x5acf10
push str._MD5
call fcn.004211a0
push 2
push 0
push dword [0x608658]
push dword [edi + 0x10]
push dword [edi + 0x14]
call fcn.00434b80
mov eax, dword [edi + 0x14]
add eax, dword [0x608688]
push 2
push 1
push dword [0x608658]
push dword [edi + 0x10]
push eax
call fcn.00434d90
mov esi, dword [edi + 0x14]
add esi, dword [0x608688]
push 0xa
push esi
call fcn.00404450
add esp, 8
test eax, eax
jne 0x420da6
movzx eax, byte [esi + 9]
push eax
movzx eax, byte [esi + 8]
push eax
movzx eax, byte [esi + 7]
push eax
movzx eax, byte [esi + 6]
push eax
movzx eax, byte [esi + 5]
push eax
movzx eax, byte [esi + 4]
push eax
movzx eax, byte [esi + 3]
push eax
movzx eax, byte [esi + 2]
push eax
movzx eax, byte [esi + 1]
push eax
movzx eax, byte [esi]
push eax
push str._02X__02X__02X__02X__02X__02X__02X__02X__02X__02X
push 0x6083a8
call dword [sym.imp.USER32.dll_wsprintfW]
movzx eax, byte [esi]
add esp, 0x30
mov word [esp + 0x20], ax
mov ecx, 0x2e
cmp byte [esi], 0x1d
ja 0x420af0
mov word [esp + 0x20], cx
movzx eax, byte [esi + 1]
mov word [esp + 0x22], ax
cmp byte [esi + 1], 0x1d
ja 0x420b04
mov word [esp + 0x22], cx
movzx eax, byte [esi + 2]
mov word [esp + 0x24], ax
cmp byte [esi + 2], 0x1d
ja 0x420b18
mov word [esp + 0x24], cx
movzx eax, byte [esi + 3]
mov word [esp + 0x26], ax
cmp byte [esi + 3], 0x1d
ja 0x420b2c
mov word [esp + 0x26], cx
movzx eax, byte [esi + 4]
mov word [esp + 0x28], ax
cmp byte [esi + 4], 0x1d
ja 0x420b40
mov word [esp + 0x28], cx
movzx eax, byte [esi + 5]
mov word [esp + 0x2a], ax
cmp byte [esi + 5], 0x1d
ja 0x420b54
mov word [esp + 0x2a], cx
movzx eax, byte [esi + 6]
mov word [esp + 0x2c], ax
cmp byte [esi + 6], 0x1d
ja 0x420b68
mov word [esp + 0x2c], cx
movzx eax, byte [esi + 7]
mov word [esp + 0x2e], ax
cmp byte [esi + 7], 0x1d
ja 0x420b7c
mov word [esp + 0x2e], cx
movzx eax, byte [esi + 8]
mov word [esp + 0x30], ax
cmp byte [esi + 8], 0x1d
ja 0x420b90
mov word [esp + 0x30], cx
movzx eax, byte [esi + 9]
mov word [esp + 0x32], ax
cmp byte [esi + 9], 0x1d
ja 0x420ba4
mov word [esp + 0x32], cx
mov ecx, dword [0x608658]
xor eax, eax
mov word [esp + 0x34], ax
mov edx, 2
lea eax, [esp + 0x20]
push eax
push 0x6083a8
push str._First_10_Bytes
call fcn.004211a0
mov ecx, dword [0x608658]
mov edx, 3
push 0x5acf10
push 0x5acf10
push 0x5acf10
call fcn.004211a0
mov ecx, dword [0x608658]
mov edx, 4
push 0x5acf10
push 0x5acf10
push str.Characteristics:
call fcn.004211a0
test dword [edi + 0x24], 0x20000000
mov esi, 5
je 0x420c37
mov ecx, dword [0x608658]
mov edx, esi
push 0x5acf10
push str.Executable
push 0x5acf10
call fcn.004211a0
mov esi, 6
test dword [edi + 0x24], 0x40000000
je 0x420c5d
mov ecx, dword [0x608658]
mov edx, esi
push 0x5acf10
push str.Readable
push 0x5acf10
call fcn.004211a0
inc esi
cmp dword [edi + 0x24], 0
jge 0x420c80
mov ecx, dword [0x608658]
mov edx, esi
push 0x5acf10
push str.Writeable
push 0x5acf10
call fcn.004211a0
inc esi
test dword [edi + 0x24], 0x10000000
je 0x420ca6
mov ecx, dword [0x608658]
mov edx, esi
push 0x5acf10
push str.Shareable
push 0x5acf10
call fcn.004211a0
inc esi
test byte [edi + 0x24], 0x20
je 0x420cc9
mov ecx, dword [0x608658]
mov edx, esi
push 0x5acf10
push str.Contains_Code
push 0x5acf10
call fcn.004211a0
inc esi
test dword [edi + 0x24], 0x2000000
je 0x420cef
mov ecx, dword [0x608658]
mov edx, esi
push 0x5acf10
push str.Discardable
push 0x5acf10
call fcn.004211a0
inc esi
test dword [edi + 0x24], 0x4000000
je 0x420d15
mov ecx, dword [0x608658]
mov edx, esi
push 0x5acf10
push str.Not_cachable
push 0x5acf10
call fcn.004211a0
inc esi
test dword [edi + 0x24], 0x8000000
je 0x420d3b
mov ecx, dword [0x608658]
mov edx, esi
push 0x5acf10
push str.Not_pageable
push 0x5acf10
call fcn.004211a0
inc esi
test byte [edi + 0x24], 0x40
je 0x420d5e
mov ecx, dword [0x608658]
mov edx, esi
push 0x5acf10
push str.Contains_initialized_data
push 0x5acf10
call fcn.004211a0
inc esi
test byte [edi + 0x24], 0x80
je 0x420d81
mov ecx, dword [0x608658]
mov edx, esi
push 0x5acf10
push str.Contains_uninitialized_data
push 0x5acf10
call fcn.004211a0
inc esi
test dword [edi + 0x24], 0x200
je 0x420da6
mov ecx, dword [0x608658]
mov edx, esi
push 0x5acf10
push str.Contains_comments_or_information
push 0x5acf10
call fcn.004211a0
pop ebp
pop ebx
mov ecx, dword [esp + 0x178]
pop edi
pop esi
xor ecx, esp
call fcn.00572cc2
add esp, 0x174
ret