Function at 0x4baf2b
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f0a7a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd7c
mov dword [ebp - 0x54c], 0x14c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x958], eax
lea eax, [ebp - 0xc00]
push eax
lea ecx, [ebp - 0x544]
call fcn.004bc6b0
mov dword [ebp - 4], 0
cmp dword [ebp + 0x10], 0
jne 0x4baf85
mov dword [ebp + 0x10], 0x62d4d8
push 0x108
push 0
lea ecx, [ebp - 0x534]
push ecx
call fcn.005c5b80
add esp, 0xc
cmp dword [0x9a2144], 0
jne 0x4bafb2
cmp dword [0x615bac], 1
jne 0x4bafb2
call fcn.004ba3a2
cmp dword [0x9a2144], 0
jne 0x4baff4
mov dword [0x615bac], 0
mov edx, dword [0x9a214c]
push edx
push str._lu:_Error_Logger_not_Init_n
mov eax, dword [ebp + 0x10]
push eax
call fcn.005c64a8
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x544]
call fcn.004bc750
jmp 0x4bbf6e
push 0x9a2150
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x9a214c
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp dword [0x9a21a4], 0
jne 0x4bb033
push 0x420
call fcn.005c6c9e
add esp, 4
mov dword [0x9a21a4], eax
cmp dword [0x9a21a4], 0
jne 0x4bb033
jmp 0x4bbf1c
cmp dword [0x9a2100], 2
je 0x4bb073
mov ecx, dword [0x9a214c]
push ecx
push str._lu:
mov edx, dword [ebp + 0x10]
push edx
call fcn.005c64a8
add esp, 0xc
push 0
mov eax, dword [ebp + 0x10]
push eax
call fcn.004bbf9c
add esp, 8
push 0x61608c
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.005c64a8
add esp, 8
cmp dword [0x615bac], 0
je 0x4bb623
push 0x1fa0
call fcn.005c6c9e
add esp, 4
mov dword [ebp - 0xbac], eax
cmp dword [ebp - 0xbac], 0
jne 0x4bb0a1
jmp 0x4bbf1c
push 0x9a21b4
lea ecx, [ebp - 0x544]
call fcn.004bc790
mov edx, dword [ebp - 0xbac]
push edx
push 0x1fa0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x4bb15b
lea eax, [ebp - 0xc14]
push eax
push 0x616090
lea ecx, [ebp - 0xc10]
call fcn.004bc720
mov dword [ebp - 0xd08], eax
mov ecx, dword [ebp - 0xd08]
mov dword [ebp - 0xd0c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xd0c]
push edx
mov eax, dword [ebp - 0xbac]
push eax
lea ecx, [ebp - 0xc24]
push ecx
call fcn.004bd810
add esp, 0xc
mov dword [ebp - 0xd10], eax
mov edx, dword [ebp - 0xd10]
mov dword [ebp - 0xd14], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xd14]
push eax
lea ecx, [ebp - 0x544]
call fcn.004bc7b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc24]
call fcn.004bc750
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc10]
call fcn.004bc750
push 0x1fa0
mov ecx, dword [ebp - 0xbac]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4bb2ab
mov edx, dword [ebp - 0xbac]
push edx
call fcn.005c5a20
add esp, 4
mov ecx, dword [ebp - 0xbac]
lea edx, [ecx + eax - 1]
mov dword [ebp - 0xba8], edx
jmp 0x4bb1a7
mov eax, dword [ebp - 0xba8]
sub eax, 1
mov dword [ebp - 0xba8], eax
mov ecx, dword [ebp - 0xba8]
cmp ecx, dword [ebp - 0xbac]
jb 0x4bb1e3
mov edx, dword [ebp - 0xba8]
movsx eax, byte [edx]
cmp eax, 0x5c
je 0x4bb1df
mov ecx, dword [ebp - 0xba8]
movsx edx, byte [ecx]
cmp edx, 0x2f
je 0x4bb1df
mov eax, dword [ebp - 0xba8]
movsx ecx, byte [eax]
cmp ecx, 0x3a
jne 0x4bb1e1
jmp 0x4bb1e3
jmp 0x4bb198
mov edx, dword [ebp - 0xba8]
cmp edx, dword [ebp - 0xbac]
je 0x4bb2ab
mov eax, dword [ebp - 0xba8]
movsx ecx, byte [eax]
cmp ecx, 0x3a
jne 0x4bb212
mov edx, dword [ebp - 0xba8]
add edx, 1
mov dword [ebp - 0xba8], edx
mov eax, dword [ebp - 0xba8]
mov byte [eax], 0
lea ecx, [ebp - 0xc38]
push ecx
push 0x616094
lea ecx, [ebp - 0xc34]
call fcn.004bc720
mov dword [ebp - 0xd18], eax
mov edx, dword [ebp - 0xd18]
mov dword [ebp - 0xd1c], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xd1c]
push eax
mov ecx, dword [ebp - 0xbac]
push ecx
lea edx, [ebp - 0xc48]
push edx
call fcn.004bd810
add esp, 0xc
mov dword [ebp - 0xd20], eax
mov eax, dword [ebp - 0xd20]
mov dword [ebp - 0xd24], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xd24]
push ecx
lea ecx, [ebp - 0x544]
call fcn.004bc7b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xc48]
call fcn.004bc750
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc34]
call fcn.004bc750
push 0x1fa0
mov edx, dword [ebp - 0xbac]
push edx
push 0x616098
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x4bb35a
lea eax, [ebp - 0xc5c]
push eax
push 0x6160a8
lea ecx, [ebp - 0xc58]
call fcn.004bc720
mov dword [ebp - 0xd28], eax
mov ecx, dword [ebp - 0xd28]
mov dword [ebp - 0xd2c], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xd2c]
push edx
mov eax, dword [ebp - 0xbac]
push eax
lea ecx, [ebp - 0xc6c]
push ecx
call fcn.004bd810
add esp, 0xc
mov dword [ebp - 0xd30], eax
mov edx, dword [ebp - 0xd30]
mov dword [ebp - 0xd34], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xd34]
push eax
lea ecx, [ebp - 0x544]
call fcn.004bc7b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xc6c]
call fcn.004bc750
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc58]
call fcn.004bc750
push 0x1fa0
mov ecx, dword [ebp - 0xbac]
push ecx
push str._NT_ALTERNATE_SYMBOL_PATH
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x4bb409
lea edx, [ebp - 0xc80]
push edx
push 0x6160c8
lea ecx, [ebp - 0xc7c]
call fcn.004bc720
mov dword [ebp - 0xd38], eax
mov eax, dword [ebp - 0xd38]
mov dword [ebp - 0xd3c], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xd3c]
push ecx
mov edx, dword [ebp - 0xbac]
push edx
lea eax, [ebp - 0xc90]
push eax
call fcn.004bd810
add esp, 0xc
mov dword [ebp - 0xd40], eax
mov ecx, dword [ebp - 0xd40]
mov dword [ebp - 0xd44], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0xd44]
push edx
lea ecx, [ebp - 0x544]
call fcn.004bc7b0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xc90]
call fcn.004bc750
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc7c]
call fcn.004bc750
push 0x1fa0
mov eax, dword [ebp - 0xbac]
push eax
push str.SYSTEMROOT
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x4bb4b8
lea ecx, [ebp - 0xca4]
push ecx
push 0x6160d8
lea ecx, [ebp - 0xca0]
call fcn.004bc720
mov dword [ebp - 0xd48], eax
mov edx, dword [ebp - 0xd48]
mov dword [ebp - 0xd4c], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0xd4c]
push eax
mov ecx, dword [ebp - 0xbac]
push ecx
lea edx, [ebp - 0xcb4]
push edx
call fcn.004bd810
add esp, 0xc
mov dword [ebp - 0xd50], eax
mov eax, dword [ebp - 0xd50]
mov dword [ebp - 0xd54], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xd54]
push ecx
lea ecx, [ebp - 0x544]
call fcn.004bc7b0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xcb4]
call fcn.004bc750
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xca0]
call fcn.004bc750
lea ecx, [ebp - 0x544]
call fcn.004bc870
test eax, eax
jbe 0x4bb521
lea ecx, [ebp - 0x544]
call fcn.004bc870
sub eax, 1
push eax
push 0
lea edx, [ebp - 0xcc4]
push edx
lea ecx, [ebp - 0x544]
call fcn.004bc890
mov dword [ebp - 0xd58], eax
mov eax, dword [ebp - 0xd58]
mov dword [ebp - 0xd5c], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0xd5c]
push ecx
lea ecx, [ebp - 0x544]
call fcn.004bc770
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xcc4]
call fcn.004bc750
push 0x1fa0
lea ecx, [ebp - 0x544]
call fcn.004bc840
push eax
mov edx, dword [ebp - 0xbac]
push edx
call fcn.005c5df0
add esp, 0xc
mov eax, dword [ebp - 0xbac]
mov byte [eax + 0x1f9f], 0
push 0
mov ecx, dword [ebp - 0xbac]
push ecx
mov edx, dword [ebp - 0x958]
push edx
call dword [0x9a218c]
test eax, eax
jne 0x4bb5ac
cmp dword [0x9a2100], 2
je 0x4bb58f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x9a214c]
push eax
push str._lu:_SymInitialize__:_GetLastError___lu_n
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.005c64a8
add esp, 0x10
cmp dword [ebp - 0xbac], 0
je 0x4bb5a7
mov edx, dword [ebp - 0xbac]
push edx
call fcn.005c6dd8
add esp, 4
jmp 0x4bbf1c
call dword [0x9a2184]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp - 0x42c]
or al, 0x10
mov dword [ebp - 0x42c], eax
mov ecx, dword [ebp - 0x42c]
and ecx, 0xfffffffd
mov dword [ebp - 0x42c], ecx
mov edx, dword [ebp - 0x42c]
and edx, 0xfffffffb
mov dword [ebp - 0x42c], edx
mov eax, dword [ebp - 0x42c]
push eax
call dword [0x9a2194]
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov edx, dword [ebp - 0x958]
push edx
call fcn.004bbffe
add esp, 0xc
cmp dword [ebp - 0xbac], 0
je 0x4bb623
mov eax, dword [ebp - 0xbac]
push eax
call fcn.005c6dd8
add esp, 4
mov dword [0x615bac], 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xb8]
xor eax, eax
mov dword [ebp - 0x534], edx
mov dword [ebp - 0x530], eax
mov dword [ebp - 0x528], 3
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xb4]
xor eax, eax
mov dword [ebp - 0x514], edx
mov dword [ebp - 0x510], eax
mov dword [ebp - 0x508], 3
push 0x420
push 0
mov ecx, dword [0x9a21a4]
push ecx
call fcn.005c5b80
add esp, 0xc
mov edx, dword [0x9a21a4]
mov dword [edx], 0x20
mov eax, dword [0x9a21a4]
mov dword [eax + 0x18], 0x400
push 0x18
push 0
lea ecx, [ebp - 0x24]
push ecx
call fcn.005c5b80
add esp, 0xc
mov dword [ebp - 0x24], 0x18
push 0x248
push 0
lea edx, [ebp - 0xba0]
push edx
call fcn.005c5b80
add esp, 0xc
mov dword [ebp - 0xba0], 0x248
mov dword [ebp - 0x428], 0
jmp 0x4bb6ef
mov eax, dword [ebp - 0x428]
add eax, 1
mov dword [ebp - 0x428], eax
push 0
mov ecx, dword [0x9a217c]
push ecx
mov edx, dword [0x9a2174]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 0
lea ecx, [ebp - 0x534]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0x54c]
push ecx
call dword [0x9a2198]
test eax, eax
jne 0x4bb72a
jmp 0x4bbeeb
mov dword [ebp - 0x548], 0
cmp dword [0x9a2100], 1
jne 0x4bb75b
mov edx, dword [ebp - 0x428]
push edx
mov eax, dword [0x9a214c]
push eax
push str._n_lu:__3d
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.005c64a8
add esp, 0x10
mov edx, dword [ebp - 0x534]
or edx, dword [ebp - 0x530]
test edx, edx
jne 0x4bb7d6
mov eax, dword [0x9a2100]
mov dword [ebp - 0xd60], eax
cmp dword [ebp - 0xd60], 0
je 0x4bb793
cmp dword [ebp - 0xd60], 1
je 0x4bb7ad
cmp dword [ebp - 0xd60], 2
je 0x4bb7c0
jmp 0x4bb7d1
mov ecx, dword [0x9a214c]
push ecx
push str._lu:___nosymbols__PC__0__n
mov edx, dword [ebp + 0x10]
push edx
call fcn.005c64a8
add esp, 0xc
jmp 0x4bb7d1
push str._____nosymbols__PC__0__n
mov eax, dword [ebp + 0x10]
push eax
call fcn.005c64a8
add esp, 8
jmp 0x4bb7d1
push str._STACKENTRY_decl___nosymbols__PC__0_____n
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.005c64a8
add esp, 8
jmp 0x4bbecc
mov byte [ebp - 0x424], 0
mov byte [ebp - 0x94c], 0
mov dword [ebp - 0x954], 0
mov dword [ebp - 0x950], 0
mov edx, dword [0x9a21a4]
push edx
lea eax, [ebp - 0x954]
push eax
mov ecx, dword [ebp - 0x530]
push ecx
mov edx, dword [ebp - 0x534]
push edx
mov eax, dword [ebp - 0x958]
push eax
call dword [0x9a2188]
test eax, eax
jne 0x4bb86b
cmp dword [0x9a2100], 1
jne 0x4bb866
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x1e7
je 0x4bb855
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.___SymGetSymFromAddr__:_GetLastError___lu_n
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.005c64a8
add esp, 0xc
jmp 0x4bb866
push 0x6161a4
mov edx, dword [ebp + 0x10]
push edx
call fcn.005c64a8
add esp, 8
jmp 0x4bb943
push 0x1000
push 0x400
lea eax, [ebp - 0x424]
push eax
mov ecx, dword [0x9a21a4]
add ecx, 0x1c
push ecx
call dword [0x9a219c]
push 0
push 0x400
lea edx, [ebp - 0x94c]
push edx
mov eax, dword [0x9a21a4]
add eax, 0x1c
push eax
call dword [0x9a219c]
cmp dword [0x9a2100], 1
jne 0x4bb943
lea ecx, [ebp - 0x424]
push ecx
call fcn.005c5a20
add esp, 4
test eax, eax
jbe 0x4bb8ea
mov edx, dword [ebp - 0x954]
push edx
lea eax, [ebp - 0x424]
push eax
push str.______s__ld_bytes_n
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.005c64a8
add esp, 0x10
jmp 0x4bb924
mov edx, dword [ebp - 0x954]
push edx
mov eax, dword [0x9a21a4]
add eax, 0x1c
push eax
push str._____Sig:___s__ld_bytes_n
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.005c64a8
add esp, 0x10
mov edx, dword [0x9a21a4]
add edx, 0x1c
push edx
lea eax, [ebp - 0x424]
push eax
call fcn.005c5930
add esp, 8
lea ecx, [ebp - 0x94c]
push ecx
mov edx, dword [0x9a214c]
push edx
push str._lu:_____Decl:__s_n
mov eax, dword [ebp + 0x10]
push eax
call fcn.005c64a8
add esp, 0x10
mov dword [ebp - 0xba4], 0
cmp dword [0x9a2178], 0
je 0x4bbbd6
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0xba4]
push edx
mov eax, dword [ebp - 0x530]
push eax
mov ecx, dword [ebp - 0x534]
push ecx
mov edx, dword [ebp - 0x958]
push edx
call dword [0x9a2178]
test eax, eax
jne 0x4bba6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x1e7
je 0x4bba66
cmp dword [ebp - 0x428], 0
jle 0x4bba66
cmp dword [0x9a2100], 2
jne 0x4bba47
push 0x6161ec
mov eax, dword [ebp + 0x10]
push eax
call fcn.005c64a8
add esp, 8
mov dword [ebp - 0x548], 1
mov ecx, dword [ebp - 0x954]
push ecx
lea edx, [ebp - 0x424]
push edx
lea eax, [ebp - 0xcd4]
push eax
call fcn.004ba8e5
add esp, 8
mov dword [ebp - 0xd64], eax
mov ecx, dword [ebp - 0xd64]
mov dword [ebp - 0xd68], ecx
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0xd68]
call fcn.004bc840
push eax
push 0x6161fc
mov edx, dword [ebp + 0x10]
push edx
call fcn.005c64a8
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xcd4]
call fcn.004bc750
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.srcfile_SymGetLineFromAddr__:_GetLastError___lu_
mov eax, dword [ebp + 0x10]
push eax
call fcn.005c64a8
add esp, 0xc
jmp 0x4bba66
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [0x9a214c]
push ecx
push str._lu:_SymGetLineFromAddr__:_GetLastError___lu_n
mov edx, dword [ebp + 0x10]
push edx
call fcn.005c64a8
add esp, 0x10
jmp 0x4bbbd6
mov eax, dword [0x9a2100]
mov dword [ebp - 0xd6c], eax
cmp dword [ebp - 0xd6c], 0
je 0x4bbac2
cmp dword [ebp - 0xd6c], 1
je 0x4bba96
cmp dword [ebp - 0xd6c], 2
je 0x4bbaf5
jmp 0x4bbbd6
mov ecx, dword [ebp - 0xba4]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [0x9a214c]
push ecx
push str._lu:_____Line:__s__lu___ld_bytes_n
mov edx, dword [ebp + 0x10]
push edx
call fcn.005c64a8
add esp, 0x18
jmp 0x4bbbd6
lea eax, [ebp - 0x424]
push eax
mov ecx, dword [ebp - 0xba4]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [0x9a214c]
push ecx
push str._lu:__s__lu___ld_bytes___s__n
mov edx, dword [ebp + 0x10]
push edx
call fcn.005c64a8
add esp, 0x1c
jmp 0x4bbbd6
push 0x6162c4
mov eax, dword [ebp + 0x10]
push eax
call fcn.005c64a8
add esp, 8
mov dword [ebp - 0x548], 1
mov ecx, dword [ebp - 0x954]
push ecx
lea edx, [ebp - 0x424]
push edx
lea eax, [ebp - 0xce4]
push eax
call fcn.004ba8e5
add esp, 8
mov dword [ebp - 0xd70], eax
mov ecx, dword [ebp - 0xd70]
mov dword [ebp - 0xd74], ecx
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0xd74]
call fcn.004bc840
push eax
push 0x6162d4
mov edx, dword [ebp + 0x10]
push edx
call fcn.005c64a8
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xce4]
call fcn.004bc750
lea eax, [ebp - 0x424]
push eax
mov ecx, dword [ebp - 0xba4]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0xcf4]
push ecx
call fcn.004ba8e5
add esp, 8
mov dword [ebp - 0xd78], eax
mov edx, dword [ebp - 0xd78]
mov dword [ebp - 0xd7c], edx
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0xd7c]
call fcn.004bc840
push eax
push str.srcfile__s__line__lu__line_offset__ld_
mov eax, dword [ebp + 0x10]
push eax
call fcn.005c64a8
add esp, 0x18
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xcf4]
call fcn.004bc750
cmp dword [0x9a2100], 1
je 0x4bbbec
cmp dword [0x9a2100], 2
jne 0x4bbea9
lea ecx, [ebp - 0xba0]
push ecx
mov edx, dword [ebp - 0x530]
push edx
mov eax, dword [ebp - 0x534]
push eax
mov ecx, dword [ebp - 0x958]
push ecx
call dword [0x9a2180]
test eax, eax
jne 0x4bbc3f
cmp dword [0x9a2100], 1
jne 0x4bbc3a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [0x9a214c]
push edx
push str._lu:_SymGetModuleInfo_:_GetLastError___lu_n
mov eax, dword [ebp + 0x10]
push eax
call fcn.005c64a8
add esp, 0x10
jmp 0x4bbea9
mov ecx, dword [ebp - 0xb80]
mov dword [ebp - 0xd80], ecx
cmp dword [ebp - 0xd80], 7
ja case.default.0x4bbc5e
mov edx, dword [ebp - 0xd80]
jmp dword [edx*4 + 0x4bbf7c]
push str._nosymbols_
lea eax, [ebp - 0xbfc]
push eax
call fcn.005c5930
add esp, 8
jmp 0x4bbd3b
push str.COFF
lea ecx, [ebp - 0xbfc]
push ecx
call fcn.005c5930
add esp, 8
jmp 0x4bbd3b
push 0x616360
lea edx, [ebp - 0xbfc]
push edx
call fcn.005c5930
add esp, 8
jmp 0x4bbd3b
push 0x616364
lea eax, [ebp - 0xbfc]
push eax
call fcn.005c5930
add esp, 8
jmp 0x4bbd3b
push str._exported_
lea ecx, [ebp - 0xbfc]
push ecx
call fcn.005c5930
add esp, 8
jmp 0x4bbd3b
push str._deferred_
lea edx, [ebp - 0xbfc]
push edx
call fcn.005c5930
add esp, 8
jmp 0x4bbd3b
push 0x616380
lea eax, [ebp - 0xbfc]
push eax
call fcn.005c5930
add esp, 8
jmp 0x4bbd3b
push 0x616384
lea ecx, [ebp - 0xbfc]
push ecx
call fcn.005c5930
add esp, 8
jmp 0x4bbd3b
mov edx, dword [ebp - 0xb80]
push edx
push str.symtype_ld
push 0x50
lea eax, [ebp - 0xbfc]
push eax
call fcn.005c8f29
add esp, 0x10
cmp dword [0x9a2100], 2
jne 0x4bbdea
cmp dword [ebp - 0x548], 0
jne 0x4bbdea
push str._STACKENTRY
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.005c64a8
add esp, 8
mov dword [ebp - 0x548], 1
mov edx, dword [ebp - 0x954]
push edx
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0xd04]
push ecx
call fcn.004ba8e5
add esp, 8
mov dword [ebp - 0xd84], eax
mov edx, dword [ebp - 0xd84]
mov dword [ebp - 0xd88], edx
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0xd88]
call fcn.004bc840
push eax
push str.decl__s__decl_offset__ld_
mov eax, dword [ebp + 0x10]
push eax
call fcn.005c64a8
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd04]
call fcn.004bc750
push str.srcfile__
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.005c64a8
add esp, 8
mov dword [ebp - 0x548], 1
cmp dword [0x9a2100], 1
jne 0x4bbe7a
mov edx, dword [ebp - 0xb94]
push edx
mov eax, dword [ebp - 0xb98]
push eax
lea ecx, [ebp - 0xb7c]
push ecx
mov edx, dword [0x9a214c]
push edx
push str._lu:_____Mod:___s__base:__08lxh_n
mov eax, dword [ebp + 0x10]
push eax
call fcn.005c64a8
add esp, 0x18
cmp dword [ebp - 0xb80], 0
jne 0x4bbe78
mov ecx, dword [ebp - 0x530]
push ecx
mov edx, dword [ebp - 0x534]
push edx
mov eax, dword [0x9a214c]
push eax
push str._lu:_____Offset:_0x_8.8x_n
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.005c64a8
add esp, 0x14
lea edx, [ebp - 0xa5c]
push edx
lea eax, [ebp - 0xbfc]
push eax
mov ecx, dword [0x9a214c]
push ecx
push str._lu:_____Sym:__type:__s__file:__s_n
mov edx, dword [ebp + 0x10]
push edx
call fcn.005c64a8
add esp, 0x14
jmp 0x4bbea9
cmp dword [ebp - 0x548], 1
jne 0x4bbea9
mov eax, dword [ebp - 0xb94]
push eax
mov ecx, dword [ebp - 0xb98]
push ecx
lea edx, [ebp - 0xb7c]
push edx
push str.module__s__base__08lx_
mov eax, dword [ebp + 0x10]
push eax
call fcn.005c64a8
add esp, 0x14
cmp dword [0x9a2100], 2
jne 0x4bbecc
cmp dword [ebp - 0x548], 1
jne 0x4bbecc
push 0x616450
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.005c64a8
add esp, 8
mov edx, dword [ebp - 0x524]
or edx, dword [ebp - 0x520]
test edx, edx
jne 0x4bbee6
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4bbeeb
jmp 0x4bb6e0
cmp dword [0x9a2100], 2
je 0x4bbf1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4bbf1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x9a214c]
push eax
push str._n_lu:_StackWalk__:_GetLastError___lu_n
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.005c64a8
add esp, 0x10
cmp dword [ebp + 0x10], 0
je 0x4bbf51
push 0x61647c
mov edx, dword [ebp + 0x10]
push edx
call fcn.005c64a8
add esp, 8
mov eax, dword [0x9a214c]
xor edx, edx
mov ecx, 0x3e8
div ecx
test edx, edx
je 0x4bbf51
mov edx, dword [ebp + 0x10]
push edx
call fcn.005c8dc3
add esp, 4
push 0x9a2150
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x544]
call fcn.004bc750
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret