Function at 0x487590
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x487ddb
sub esp, 0x50
mov eax, dword [0x74dc5c]
mov ecx, dword [0x74dc58]
test ecx, ecx
jne 0x487dbf
mov eax, dword [esp + 0x5c]
cmp eax, 4
jge 0x487b78
cmp eax, 3
jge 0x487a51
cmp eax, 2
jne 0x487a45
mov ecx, dword [esp + 0x58]
movzx ebx, word [ecx]
cmp bx, 0x7069
jne 0x48795a
movzx ebx, byte [esp + 0x60]
test bl, bl
jne 0x487928
xor edx, edx
xor ebp, ebp
mov esi, dword [0x74d650]
test esi, esi
jne 0x4878e9
test edx, edx
jne 0x4878cd
test bl, bl
je 0x487670
movzx edx, byte [0x75f706]
test dl, dl
je 0x487670
cmp eax, 3
jne 0x4878c3
movzx edx, word [ecx]
cmp dx, 0x6374
jne 0x4878b9
movzx edx, byte [ecx + 2]
cmp dl, 0x70
jne 0x4878af
mov edx, 3
mov byte [esp + 0x2f], dl
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov byte [esp + 4], dl
call dbg.syscall.SetFileCompletionNotificationModes
mov eax, dword [esp + 8]
test eax, eax
je 0x487891
mov eax, dword [esp + 0x5c]
cmp eax, 3
jne 0x487888
mov ecx, dword [esp + 0x58]
movzx edx, word [ecx]
cmp dx, 0x6475
jne 0x487883
movzx edx, byte [ecx + 2]
cmp dl, 0x70
jne 0x487855
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], 0x9800000c
lea ecx, [esp + 0x38]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call dbg.syscall.WSAIoctl
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
test eax, eax
jne 0x487837
mov eax, dword [esp + 0x54]
mov dword [eax + 0x2c], 0x72
mov dword [eax + 0xa0], 0x77
mov ecx, dword [0x75f950]
lea edx, [eax + 0x38]
lea ebx, [eax + 0xac]
test ecx, ecx
jne 0x48780a
mov dword [eax + 0x38], eax
mov dword [eax + 0xac], eax
mov ecx, dword [eax + 0xfc]
mov dword [eax + 0x28], ecx
mov ecx, dword [eax + 0xfc]
mov dword [eax + 0x9c], ecx
movzx ecx, byte [0x75f704]
test cl, cl
je 0x487784
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
add esp, 0x50
ret
lea eax, [0x5d47e0]
mov dword [esp], eax
mov dword [esp + 4], 0
call dbg.runtime.makechan
mov eax, dword [0x75f950]
mov ecx, dword [esp + 0x54]
lea edx, [ecx + 0x3c]
mov ebx, dword [esp + 8]
test eax, eax
jne 0x4877fc
mov dword [ecx + 0x3c], ebx
lea eax, [0x5d47e0]
mov dword [esp], eax
mov dword [esp + 4], 0
call dbg.runtime.makechan
mov eax, dword [0x75f950]
mov ecx, dword [esp + 0x54]
lea edx, [ecx + 0xb0]
mov ebx, dword [esp + 8]
test eax, eax
jne 0x4877eb
mov dword [ecx + 0xb0], ebx
jmp 0x487760
mov dword [esp], edx
mov dword [esp + 4], ebx
call dbg.runtime.writebarrierptr
jmp 0x487760
mov dword [esp], edx
mov dword [esp + 4], ebx
call dbg.runtime.writebarrierptr
jmp 0x4877b2
mov dword [esp + 0x4c], ebx
mov dword [esp], edx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x54]
jmp 0x487740
lea edx, [0x61be26]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], 8
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
add esp, 0x50
ret
cmp eax, 4
jne 0x48786b
mov edx, dword [ecx]
cmp edx, 0x34706475
je 0x48769c
cmp eax, 4
jne 0x48770b
mov eax, dword [ecx]
cmp eax, 0x36706475
je 0x48769c
jmp 0x48770b
cmp eax, 4
jmp 0x487858
cmp eax, 4
mov ecx, dword [esp + 0x58]
jmp 0x487858
movzx eax, byte [esp + 0x2f]
test al, 1
je 0x487670
mov eax, dword [esp + 0x54]
mov byte [eax + 0x138], 1
jmp 0x487670
mov edx, 2
jmp 0x48764d
mov edx, 2
jmp 0x48764d
mov edx, 2
jmp 0x48764d
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], ebp
add esp, 0x50
ret
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebp
mov dword [esp], ecx
mov dword [esp + 4], eax
mov ebx, dword [esp + 0x54]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
mov edi, dword [esi]
mov edx, esi
call edi
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x40]
movzx ebx, byte [esp + 0x60]
mov ebp, dword [esp + 0x44]
jmp 0x48760d
mov eax, dword [esp + 0x54]
test byte [eax], al
lea ecx, [eax + 0xfc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dbg.internal/poll.(*pollDesc).init
mov edx, dword [esp + 8]
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
movzx ebx, byte [esp + 0x60]
jmp 0x4875ff
cmp eax, 3
jne 0x487989
movzx ebx, word [ecx]
cmp bx, 0x6964
jne 0x487a3d
movzx ebx, byte [ecx + 2]
cmp bl, 0x72
jne 0x487986
mov ebx, dword [esp + 0x54]
mov byte [ebx + 0x13c], 1
jmp 0x4875ee
cmp eax, 3
jne 0x4879a2
movzx ebx, word [ecx]
cmp bx, 0x7069
jne 0x4879a2
movzx ebx, byte [ecx + 2]
cmp bl, 0x34
je 0x4875ee
mov dword [esp], 0
lea edx, [0x626a0e]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x25
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call dbg.runtime.concatstring2
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
lea edx, [0x5e9960]
mov dword [esp], edx
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [0x75f950]
test ecx, ecx
jne 0x487a23
mov ecx, dword [esp + 0x3c]
mov dword [eax], ecx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
lea ecx, [0x64e980]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
add esp, 0x50
ret
mov dword [esp + 0x48], eax
mov dword [esp], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x48]
jmp 0x487a01
cmp eax, 3
jmp 0x487989
cmp eax, 3
mov ecx, dword [esp + 0x58]
jmp 0x48795d
je 0x487b39
je 0x487aab
jne 0x487aa2
mov ecx, dword [esp + 0x58]
movzx ebx, word [ecx]
cmp bx, 0x6475
jne 0x487a9d
movzx ebx, byte [ecx + 2]
cmp bl, 0x70
je 0x4875ee
cmp eax, 4
jne 0x4879a2
mov ebx, dword [ecx]
cmp ebx, 0x656c6966
jne 0x4879a2
mov ebx, dword [esp + 0x54]
mov byte [ebx + 0x13b], 1
jmp 0x4875ee
cmp eax, 4
jmp 0x487a79
cmp eax, 4
mov ecx, dword [esp + 0x58]
jmp 0x487a79
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x61aff9]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
call dbg.runtime.cmpstring
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x487b2d
mov eax, dword [esp + 0x5c]
cmp eax, 3
jne 0x487b27
mov ecx, dword [esp + 0x58]
movzx ebx, word [ecx]
cmp bx, 0x7069
jne 0x487b22
movzx ebx, byte [ecx + 2]
cmp bl, 0x36
je 0x4875ee
cmp eax, 3
jne 0x4879a2
movzx ebx, word [ecx]
cmp bx, 0x6374
jne 0x4879a2
movzx ebx, byte [ecx + 2]
cmp bl, 0x70
je 0x4875ee
jmp 0x4879a2
cmp eax, 3
jmp 0x487afc
mov ecx, dword [esp + 0x58]
jmp 0x487afc
mov eax, dword [esp + 0x5c]
cmp eax, 3
jmp 0x487a59
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x61afd8]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
call dbg.runtime.cmpstring
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x487b6c
mov eax, dword [esp + 0x5c]
jmp 0x4875d3
mov eax, dword [esp + 0x5c]
cmp eax, 3
jmp 0x487a57
je 0x487d80
je 0x487c97
cmp eax, 7
jge 0x487bec
cmp eax, 4
jne 0x487be3
mov ecx, dword [esp + 0x58]
mov ebx, dword [ecx]
cmp ebx, 0x78696e75
je 0x4875ee
cmp eax, 7
jne 0x4879a2
mov ebx, dword [ecx]
cmp ebx, 0x736e6f63
jne 0x4879a2
movzx ebx, word [ecx + 4]
cmp bx, 0x6c6f
jne 0x4879a2
movzx ebx, byte [ecx + 6]
cmp bl, 0x65
jne 0x4879a2
mov ebx, dword [esp + 0x54]
mov byte [ebx + 0x108], 1
jmp 0x4875ee
cmp eax, 7
mov ecx, dword [esp + 0x58]
jmp 0x487ba3
je 0x487c58
cmp eax, 8
jne 0x487c52
mov ecx, dword [esp + 0x58]
mov ebx, dword [ecx]
cmp ebx, 0x78696e75
jne 0x487c10
mov ebx, dword [ecx + 4]
cmp ebx, 0x6d617267
je 0x4875ee
cmp eax, 0xa
jne 0x4879a2
mov dword [esp], ecx
lea edx, [0x61c634]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call dbg.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x487c45
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
jmp 0x4875ee
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
jmp 0x4879a2
mov ecx, dword [esp + 0x58]
jmp 0x487c10
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x61b966]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 7
call dbg.runtime.cmpstring
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x487c8e
mov eax, dword [esp + 0x5c]
cmp eax, 4
jmp 0x487b8c
mov eax, dword [esp + 0x5c]
jmp 0x487bee
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x61b21b]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call dbg.runtime.cmpstring
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x487d77
mov eax, dword [esp + 0x5c]
cmp eax, 4
je 0x487d04
jne 0x487cfe
mov ecx, dword [esp + 0x58]
mov ebx, dword [ecx]
cmp ebx, 0x34706475
je 0x4875ee
cmp eax, 4
jne 0x4879a2
mov ebx, dword [ecx]
cmp ebx, 0x36706475
je 0x4875ee
jmp 0x4879a2
mov ecx, dword [esp + 0x58]
jmp 0x487ce5
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x61b213]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call dbg.runtime.cmpstring
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x487d6b
mov eax, dword [esp + 0x5c]
cmp eax, 4
jne 0x487d65
mov ecx, dword [esp + 0x58]
mov ebx, dword [ecx]
cmp ebx, 0x34706374
je 0x4875ee
cmp eax, 4
jne 0x4879a2
mov ebx, dword [ecx]
cmp ebx, 0x36706374
je 0x4875ee
jmp 0x4879a2
mov ecx, dword [esp + 0x58]
jmp 0x487d4c
mov eax, dword [esp + 0x5c]
cmp eax, 4
jmp 0x487cce
mov eax, dword [esp + 0x5c]
jmp 0x487b84
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x61b197]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call dbg.runtime.cmpstring
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x487db3
mov eax, dword [esp + 0x5c]
jmp 0x4875ca
mov eax, dword [esp + 0x5c]
cmp eax, 4
jmp 0x487b7e
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
add esp, 0x50
ret
call dbg.runtime.morestack_noctxt
jmp dbg.internal/poll.(*FD).Init