Function at 0x5046f0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x6e06e0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x504a0f
sub esp, 0x10
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov edx, dword [esp + 0x18]
test edx, edx
jbe 0x504a05
cmp edx, 1
jbe 0x5049f9
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
mov byte [esp], cl
mov byte [esp + 1], dl
call sym.github.com_go_ole_go_ole.decodeHexByte
movzx eax, byte [esp + 4]
movzx ecx, byte [esp + 5]
mov byte [esp + 0x2c], al
mov eax, dword [esp + 0x18]
cmp eax, 2
jbe 0x5049ed
cmp eax, 3
jbe 0x5049e1
mov byte [esp + 0xf], cl
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + 2]
movzx eax, byte [eax + 3]
mov byte [esp], cl
mov byte [esp + 1], al
call sym.github.com_go_ole_go_ole.decodeHexByte
movzx eax, byte [esp + 4]
movzx ecx, byte [esp + 5]
mov byte [esp + 0x2d], al
mov eax, dword [esp + 0x24]
test eax, eax
jbe 0x5049d8
cmp eax, 1
jbe 0x5049cc
mov byte [esp + 0xe], cl
mov eax, dword [esp + 0x20]
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
mov byte [esp], cl
mov byte [esp + 1], dl
call sym.github.com_go_ole_go_ole.decodeHexByte
movzx eax, byte [esp + 4]
movzx ecx, byte [esp + 5]
mov byte [esp + 0x2e], al
mov eax, dword [esp + 0x24]
cmp eax, 2
jbe 0x5049c0
cmp eax, 3
jbe 0x5049b4
mov byte [esp + 0xd], cl
mov eax, dword [esp + 0x20]
movzx ecx, byte [eax + 2]
movzx edx, byte [eax + 3]
mov byte [esp], cl
mov byte [esp + 1], dl
call sym.github.com_go_ole_go_ole.decodeHexByte
movzx eax, byte [esp + 4]
movzx ecx, byte [esp + 5]
mov byte [esp + 0x2f], al
mov eax, dword [esp + 0x24]
cmp eax, 4
jbe 0x5049a8
cmp eax, 5
jbe 0x50499c
mov byte [esp + 0xc], cl
mov eax, dword [esp + 0x20]
movzx ecx, byte [eax + 4]
movzx edx, byte [eax + 5]
mov byte [esp], cl
mov byte [esp + 1], dl
call sym.github.com_go_ole_go_ole.decodeHexByte
movzx eax, byte [esp + 4]
movzx ecx, byte [esp + 5]
mov byte [esp + 0x30], al
mov eax, dword [esp + 0x24]
cmp eax, 6
jbe 0x504990
cmp eax, 7
jbe 0x504984
mov byte [esp + 0xb], cl
mov eax, dword [esp + 0x20]
movzx ecx, byte [eax + 6]
movzx edx, byte [eax + 7]
mov byte [esp], cl
mov byte [esp + 1], dl
call sym.github.com_go_ole_go_ole.decodeHexByte
movzx eax, byte [esp + 4]
movzx ecx, byte [esp + 5]
mov byte [esp + 0x31], al
mov eax, dword [esp + 0x24]
cmp eax, 8
jbe 0x504978
cmp eax, 9
jbe 0x50496c
mov byte [esp + 0xa], cl
mov eax, dword [esp + 0x20]
movzx ecx, byte [eax + 8]
movzx edx, byte [eax + 9]
mov byte [esp], cl
mov byte [esp + 1], dl
call sym.github.com_go_ole_go_ole.decodeHexByte
movzx eax, byte [esp + 4]
movzx ecx, byte [esp + 5]
mov byte [esp + 0x32], al
mov eax, dword [esp + 0x24]
cmp eax, 0xa
jbe 0x504960
cmp eax, 0xb
jbe 0x504954
mov byte [esp + 9], cl
mov eax, dword [esp + 0x20]
movzx ecx, byte [eax + 0xa]
movzx eax, byte [eax + 0xb]
mov byte [esp], cl
mov byte [esp + 1], al
call sym.github.com_go_ole_go_ole.decodeHexByte
movzx eax, byte [esp + 4]
movzx ecx, byte [esp + 5]
mov byte [esp + 0x33], al
movzx eax, byte [esp + 0xf]
test al, al
je 0x50494a
movzx eax, byte [esp + 0xe]
test al, al
je 0x50494a
movzx eax, byte [esp + 0xd]
test al, al
je 0x50494a
movzx eax, byte [esp + 0xc]
test al, al
je 0x50494a
movzx eax, byte [esp + 0xb]
test al, al
je 0x50494a
movzx eax, byte [esp + 0xa]
test al, al
je 0x50494a
movzx eax, byte [esp + 9]
test al, al
jne 0x50494c
xor ecx, ecx
mov byte [esp + 0x34], cl
add esp, 0x10
ret
mov eax, 0xb
mov ecx, eax
call sym.runtime.panicIndex
mov eax, 0xa
mov ecx, eax
call sym.runtime.panicIndex
mov eax, 9
mov ecx, eax
call sym.runtime.panicIndex
mov eax, 8
mov ecx, eax
call sym.runtime.panicIndex
mov eax, 7
mov ecx, eax
call sym.runtime.panicIndex
mov eax, 6
mov ecx, eax
call sym.runtime.panicIndex
mov eax, 5
mov ecx, eax
call sym.runtime.panicIndex
mov eax, 4
mov ecx, eax
call sym.runtime.panicIndex
mov eax, 3
mov ecx, eax
call sym.runtime.panicIndex
mov eax, 2
mov ecx, eax
call sym.runtime.panicIndex
mov eax, 1
mov ecx, eax
call sym.runtime.panicIndex
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
mov eax, 3
mov ecx, eax
call sym.runtime.panicIndex
mov eax, 2
mov ecx, eax
call sym.runtime.panicIndex
mov eax, 1
mov ecx, eax
call sym.runtime.panicIndex
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.github.com_go_ole_go_ole.decodeHexByte64