Function at 0x4a53f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x5a8e2c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x44]
cmp eax, dword [ecx + 8]
jbe 0x4a5ddf
sub esp, 0xc4
mov eax, 0
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov byte [esp + 0x27], 0
lea eax, [0x4c3e47]
mov dword [esp], eax
mov dword [esp + 4], 9
call sym.syscall.LoadLibrary
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x10]
test eax, eax
je 0x4a549c
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
je 0x4a546b
mov eax, dword [eax + 4]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edx
lea eax, [esp + 0xa4]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call sym.log.Fatalln
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea eax, [sym.main.main.deferwrap1]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
lea eax, [esp + 0x50]
mov dword [esp + 0xbc], eax
mov byte [esp + 0x27], 1
lea eax, [0x4c47f4]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call sym.syscall.LoadLibrary
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x10]
test eax, eax
je 0x4a5540
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
je 0x4a550f
mov eax, dword [eax + 4]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edx
lea eax, [esp + 0xa4]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call sym.log.Fatalln
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
lea eax, [sym.main.main.deferwrap2]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
lea eax, [esp + 0x48]
mov dword [esp + 0xc0], eax
mov byte [esp + 0x27], 3
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call sym.main.IsSysWow64
mov eax, dword [esp + 8]
movzx ecx, byte [esp + 4]
mov byte [esp + 0x26], cl
mov edx, dword [esp + 0xc]
test eax, eax
je 0x4a55d7
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
je 0x4a55aa
mov eax, dword [eax + 4]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edx
lea eax, [esp + 0xa4]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call sym.log.Fatalln
lea eax, [0x4c40b4]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call sym.os.Getenv
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.path_filepath.VolumeName
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
lea eax, [0x4e7cf0]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call sym.runtime.concatstring2
mov eax, dword [esp + 0x14]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
movzx edx, byte [esp + 0x26]
test dl, dl
je 0x4a57b7
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
lea eax, [0x4b1f40]
mov dword [esp + 0x64], eax
lea ecx, [0x4e88ec]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
lea ecx, [sym.main.main.Println.func1]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x9c], 1
mov dword [esp + 0xa0], 1
lea ecx, [esp + 0x64]
mov dword [esp + 0x98], ecx
mov ecx, dword [0x56a340]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea ecx, [esp + 0x94]
mov dword [esp + 0xc], ecx
call sym.log._Logger_.output
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x4b1f40]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
lea eax, [0x4c47e8]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x4b1f40]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
lea eax, [0x4c7280]
mov dword [esp], eax
mov dword [esp + 4], 0x15
lea eax, [esp + 0x84]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call sym.fmt.Sprintf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
jmp 0x4a591d
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea eax, [0x4b1f40]
mov dword [esp + 0x5c], eax
lea ecx, [0x4e88f4]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
lea ecx, [sym.main.main.Println.func2]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x9c], 1
mov dword [esp + 0xa0], 1
lea ecx, [esp + 0x5c]
mov dword [esp + 0x98], ecx
mov ecx, dword [0x56a340]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea ecx, [esp + 0x94]
mov dword [esp + 0xc], ecx
call sym.log._Logger_.output
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x4b1f40]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
lea eax, [0x4c47e8]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x4b1f40]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
lea eax, [0x4c7295]
mov dword [esp], eax
mov dword [esp + 4], 0x15
lea eax, [esp + 0x84]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call sym.fmt.Sprintf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.main.CreateProcessInt
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 0x18]
test eax, eax
je 0x4a5995
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
je 0x4a5968
mov eax, dword [eax + 4]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ebx
lea eax, [esp + 0xa4]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call sym.log.Fatalln
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call sym.main.CreateNewSection
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0xc]
test eax, eax
je 0x4a5a01
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
je 0x4a59d0
mov eax, dword [eax + 4]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edx
lea eax, [esp + 0xa4]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call sym.log.Fatalln
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xffffffff
mov dword [esp + 0xc], 0x200
mov dword [esp + 0x10], 0
call sym.main.MapViewOfSection
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x20]
test eax, eax
je 0x4a5a85
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
je 0x4a5a58
mov eax, dword [eax + 4]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edx
lea eax, [esp + 0xa4]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call sym.log.Fatalln
nop
lea edi, [esp + 0x6c]
xor eax, eax
call fcn.004673ca
lea ecx, [sym.main.main.Printf.func3]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x74], 0x18
lea ecx, [0x4c846c]
mov dword [esp + 0x70], ecx
mov ecx, dword [0x56a340]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea ecx, [esp + 0x6c]
mov dword [esp + 0xc], ecx
call sym.log._Logger_.output
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
lea edx, [0x4ceb25]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x71
call sym.main.Memcpy
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x200
mov dword [esp + 0x10], 0
call sym.main.MapViewOfSection
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x34], edx
mov ebx, dword [esp + 0x20]
test ecx, ecx
je 0x4a5b79
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
je 0x4a5b4c
mov ecx, dword [ecx + 4]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], ebx
lea eax, [esp + 0xa4]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call sym.log.Fatalln
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sym.runtime.convT32
mov eax, dword [esp + 4]
lea ecx, [0x4b2200]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call sym.runtime.convT32
mov eax, dword [esp + 4]
lea ecx, [0x4b2200]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], eax
lea edi, [esp + 0x6c]
xor eax, eax
call fcn.004673ca
lea eax, [sym.main.main.Printf.func4]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], 0x26
lea eax, [0x4cc122]
mov dword [esp + 0x70], eax
mov dword [esp + 0x7c], 2
mov dword [esp + 0x80], 2
lea eax, [esp + 0xac]
mov dword [esp + 0x78], eax
mov eax, dword [0x56a340]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea eax, [esp + 0x6c]
mov dword [esp + 0xc], eax
call sym.log._Logger_.output
mov dword [esp], 0x77359400
mov dword [esp + 4], 0
call sym.time.Sleep
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 8], edx
call sym.main.QueueApcThread
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x4a5cdc
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
je 0x4a5caf
mov eax, dword [eax + 4]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
lea eax, [esp + 0xa4]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call sym.log.Fatalln
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
call sym.main.SetInformationThread
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x4a5d44
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
je 0x4a5d17
mov eax, dword [eax + 4]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
lea eax, [esp + 0xa4]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call sym.log.Fatalln
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call sym.main.ResumeThread
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x4a5dac
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
je 0x4a5d7f
mov eax, dword [eax + 4]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
lea eax, [esp + 0xa4]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call sym.log.Fatalln
mov byte [esp + 0x27], 1
mov edx, dword [esp + 0xc0]
mov eax, dword [edx]
call eax
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0xbc]
mov eax, dword [edx]
call eax
add esp, 0xc4
ret
call sym.runtime.morestack_noctxt
jmp sym.main.main