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

Disassembly:
mov ecx, dword [0x75a1cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x591a94
sub esp, 0x5c
mov edx, dword [esp + 0x70]
mov eax, dword [edx]
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov ebx, dword [esp + 0x64]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x68]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x6c]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x40], ecx
test eax, eax
je 0x5917f9
mov edx, 1
jmp 0x59181b
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x6c]
mov dword [esp], edx
call ecx
movzx eax, byte [esp + 4]
xor eax, 1
mov ecx, dword [esp + 0x40]
mov edx, eax
mov eax, dword [esp + 0x28]
test dl, dl
je 0x591887
cmp dword [0x71b0e0], eax
je 0x59182b
xor edx, edx
jmp 0x591850
mov edx, dword [0x71b0e4]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x40]
mov edx, eax
mov eax, dword [esp + 0x28]
test dl, dl
je 0x59187b
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
call eax
movzx eax, byte [esp + 4]
test al, al
je 0x591873
xor eax, eax
xor ecx, ecx
jmp 0x59187b
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x5c
ret
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
call sym.os.ReadDir
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x2c], edx
test eax, eax
je 0x59196e
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x70]
mov ebx, dword [edx]
mov ebp, dword [esp + 0x60]
mov dword [esp], ebp
mov esi, dword [esp + 0x64]
mov dword [esp + 4], esi
mov edi, dword [esp + 0x68]
mov dword [esp + 8], edi
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call ebx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x591966
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x3c], ecx
cmp dword [0x71b0e0], eax
je 0x59190a
xor edx, edx
jmp 0x59192f
mov edx, dword [0x71b0e4]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x3c]
mov edx, eax
mov eax, dword [esp + 0x24]
test dl, dl
je 0x59195a
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
call eax
movzx eax, byte [esp + 4]
test al, al
je 0x591952
xor eax, eax
xor ecx, ecx
jmp 0x59195a
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x5c
ret
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x2c]
xor eax, eax
jmp 0x591981
mov ebx, dword [esp + 0x34]
lea eax, [ebx + 1]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x2c]
cmp eax, edx
jge 0x591a80
mov dword [esp + 0x34], eax
lea edx, [ecx + eax*8]
mov ebx, dword [edx]
mov dword [esp + 0x30], ebx
mov edx, dword [edx + 4]
mov dword [esp + 0x48], edx
mov ebp, dword [ebx + 0x18]
mov dword [esp], edx
call ebp
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov edx, dword [esp + 0x64]
mov dword [esp + 0x50], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], eax
lea eax, [esp + 0x4c]
mov dword [esp], eax
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call sym.path_filepath.join
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x10], eax
call sym.path_filepath.walkDir
mov eax, dword [esp + 0x14]
test eax, eax
je 0x591972
mov ecx, dword [esp + 0x18]
cmp dword [0x71b0e0], eax
jne 0x591a74
mov dword [esp + 0x38], ecx
mov dword [esp + 0x20], eax
mov edx, dword [0x71b0e4]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
jne 0x591a80
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x5c
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x5c
ret
call sym.runtime.morestack_noctxt
jmp sym.path_filepath.walkDir