Function at 0x40c200
Capabilities:
Link many functions at runtime

Disassembly:
cmp byte [0x809788], 0
jne 0x40c44e
push esi
push 0x5cd6d4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x40c44f
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.StackWalk64
push esi
call edi
mov dword [0x80975c], eax
test eax, eax
je 0x40c468
push str.SymCleanup
push esi
call edi
mov dword [0x809760], eax
test eax, eax
je 0x40c481
push str.SymFromAddr
push esi
call edi
mov dword [0x809764], eax
test eax, eax
je 0x40c49a
push str.SymFunctionTableAccess64
push esi
call edi
mov dword [0x809768], eax
test eax, eax
je 0x40c4b3
push str.SymGetLineFromAddr64
push esi
call edi
mov dword [0x80976c], eax
test eax, eax
je 0x40c4cc
push str.SymGetModuleBase64
push esi
call edi
mov dword [0x809770], eax
test eax, eax
je 0x40c4e5
push str.SymGetSearchPathW
push esi
call edi
mov dword [0x809774], eax
test eax, eax
je 0x40c4fe
push str.SymInitialize
push esi
call edi
mov dword [0x809778], eax
test eax, eax
je 0x40c517
push str.SymSetOptions
push esi
call edi
mov dword [0x80977c], eax
test eax, eax
je 0x40c530
push str.SymSetSearchPathW
push esi
call edi
mov dword [0x809780], eax
test eax, eax
je 0x40c549
push str.UnDecorateSymbolName
push esi
call edi
mov dword [0x809784], eax
test eax, eax
je 0x40c562
call fcn.0040cb20
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test al, al
jne 0x40c36e
call fcn.004403a0
test al, al
jne 0x40c36e
push str._WARNING:_Failed_to_initialize_DbgHelp________________n
call fcn.00416550
push str._Most_likely_this_means_that_the_app_is_already_______n
call fcn.00416550
push str._using_DbgHelp__possibly_with_incompatible_flags._____n
call fcn.00416550
push str._Due_to_technical_reasons__symbolization_might_crash__n
call fcn.00416550
push str._or_produce_wrong_results.____________________________n
call fcn.00416550
mov esi, dword [0x809760]
add esp, 0x14
call edi
push eax
call esi
call fcn.0040cb20
mov esi, dword [0x809774]
push 0x800
push 0x809790
mov byte [0x809788], 1
call edi
push eax
call esi
test eax, eax
jne 0x40c39e
push str._WARNING:_Failed_to_SymGetSearchPathW__n
call fcn.00416550
add esp, 4
pop edi
pop esi
ret
mov esi, 0x809790
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x40c3a6
sub esi, ecx
sar esi, 1
je 0x40c3e0
push 0x5cdb70
push 0x905
push 0x809790
call fcn.005a2921
cdq
add esp, 0xc
test eax, eax
jne 0x40c597
test edx, edx
jne 0x40c597
inc esi
push 0x104
lea esi, [esi*2 + 0x809790]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x40c43f
cmp eax, 0x104
je 0x40c43f
push 0x5c
push esi
call fcn.00592d3a
mov ecx, eax
add esp, 8
cdq
or eax, edx
je 0x40c57b
xor eax, eax
mov word [ecx], ax
mov esi, dword [0x809780]
push 0x809790
call edi
push eax
call esi
test eax, eax
jne 0x40c44c
push str._WARNING:_Failed_to_SymSetSearchPathW_n
call fcn.00416550
add esp, 4
pop edi
pop esi
ret
push str._WARNING:_Failed_to_getting_the_EXE_directory__n
call fcn.00416550
add esp, 4
pop edi
pop esi
ret
push 0
push 0
push 0
push 0
push str.__dbghelp___failed_to_load_dbghelp.dll_______0_
push 0x43
push str.D:_a_work1_s_src_vctools_asanllvmcompiler_rtlib_sanitizer_common_sanitizer_symbolizer_win.cpp
call fcn.004123d0
push 0
push 0
push 0
push 0
push str.__StackWalk64___nullptr______0_
push 0x4b
push str.D:_a_work1_s_src_vctools_asanllvmcompiler_rtlib_sanitizer_common_sanitizer_symbolizer_win.cpp
call fcn.004123d0
push 0
push 0
push 0
push 0
push str.__SymCleanup___nullptr______0_
push 0x4c
push str.D:_a_work1_s_src_vctools_asanllvmcompiler_rtlib_sanitizer_common_sanitizer_symbolizer_win.cpp
call fcn.004123d0
push 0
push 0
push 0
push 0
push str.__SymFromAddr___nullptr______0_
push 0x4d
push str.D:_a_work1_s_src_vctools_asanllvmcompiler_rtlib_sanitizer_common_sanitizer_symbolizer_win.cpp
call fcn.004123d0
push 0
push 0
push 0
push 0
push str.__SymFunctionTableAccess64___nullptr______0_
push 0x4e
push str.D:_a_work1_s_src_vctools_asanllvmcompiler_rtlib_sanitizer_common_sanitizer_symbolizer_win.cpp
call fcn.004123d0
push 0
push 0
push 0
push 0
push str.__SymGetLineFromAddr64___nullptr______0_
push 0x4f
push str.D:_a_work1_s_src_vctools_asanllvmcompiler_rtlib_sanitizer_common_sanitizer_symbolizer_win.cpp
call fcn.004123d0
push 0
push 0
push 0
push 0
push str.__SymGetModuleBase64___nullptr______0_
push 0x50
push str.D:_a_work1_s_src_vctools_asanllvmcompiler_rtlib_sanitizer_common_sanitizer_symbolizer_win.cpp
call fcn.004123d0
push 0
push 0
push 0
push 0
push str.__SymGetSearchPathW___nullptr______0_
push 0x51
push str.D:_a_work1_s_src_vctools_asanllvmcompiler_rtlib_sanitizer_common_sanitizer_symbolizer_win.cpp
call fcn.004123d0
push 0
push 0
push 0
push 0
push str.__SymInitialize___nullptr______0_
push 0x52
push str.D:_a_work1_s_src_vctools_asanllvmcompiler_rtlib_sanitizer_common_sanitizer_symbolizer_win.cpp
call fcn.004123d0
push 0
push 0
push 0
push 0
push str.__SymSetOptions___nullptr______0_
push 0x53
push str.D:_a_work1_s_src_vctools_asanllvmcompiler_rtlib_sanitizer_common_sanitizer_symbolizer_win.cpp
call fcn.004123d0
push 0
push 0
push 0
push 0
push str.__SymSetSearchPathW___nullptr______0_
push 0x54
push str.D:_a_work1_s_src_vctools_asanllvmcompiler_rtlib_sanitizer_common_sanitizer_symbolizer_win.cpp
call fcn.004123d0
push 0
push 0
push 0
push 0
push str.__UnDecorateSymbolName___nullptr______0_
push 0x55
push str.D:_a_work1_s_src_vctools_asanllvmcompiler_rtlib_sanitizer_common_sanitizer_symbolizer_win.cpp
call fcn.004123d0
push 0
push 0
push 0
push 0
push str.__last_bslash_______0__
push 0x81
push str.D:_a_work1_s_src_vctools_asanllvmcompiler_rtlib_sanitizer_common_sanitizer_symbolizer_win.cpp
call fcn.004123d0
push edx
push eax
push 0
push 0
push str.__0______wcscat_s_path_buffer__L______
push 0x76
push str.D:_a_work1_s_src_vctools_asanllvmcompiler_rtlib_sanitizer_common_sanitizer_symbolizer_win.cpp
call fcn.004123d0
int3