Function at 0x5479a0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57cfe0
push 0x565328
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x54], str._nIncrementally_linked_image__PC_correlation_disabled._n
mov dword [ebp - 0x40], str._nStack_trace_terminated_abnormally._n
call fcn.00549060
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x48], ebp
mov dword [ebp - 0x50], esp
mov word [ebp - 0x1c], cs
mov word [ebp - 0x28], ss
xor ebx, ebx
mov dword [0x5a6154], ebx
push str.imagehlp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x5a6154], eax
cmp eax, ebx
je 0x547dee
mov dword [0x5a6150], ebx
mov dword [0x5a6158], ebx
mov dword [0x5a6160], ebx
mov dword [0x5a615c], ebx
mov dword [0x5a6164], ebx
push str.StackWalk
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call edi
mov dword [0x5a6150], eax
push str.SymInitialize
mov eax, dword [0x5a6154]
push eax
call edi
mov dword [0x5a6158], eax
push str.SymCleanup
mov ecx, dword [0x5a6154]
push ecx
call edi
mov dword [0x5a6160], eax
push str.ImagehlpApiVersionEx
mov edx, dword [0x5a6154]
push edx
call edi
mov dword [0x5a615c], eax
push str.SymFunctionTableAccess
mov eax, dword [0x5a6154]
push eax
call edi
mov dword [0x5a6164], eax
cmp dword [0x5a6150], ebx
je 0x547dee
cmp dword [0x5a6158], ebx
je 0x547dee
cmp dword [0x5a6160], ebx
je 0x547dee
cmp eax, ebx
je 0x547dee
mov dword [ebp - 0x30], 1
push str.FOR_ENABLE_VERBOSE_STACK_TRACE
call fcn.005520e0
add esp, 4
test eax, eax
je 0x547acc
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x3c], ebx
mov esi, dword [ebp + 8]
cmp esi, ebx
je 0x547add
mov ecx, dword [esi]
mov edx, dword [ecx]
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x3c], ebx
je 0x547af9
cmp dword [ebp - 0x30], ebx
jne 0x547af9
mov ebx, dword [ebp + 0xc]
push ebx
mov eax, dword [esi + 4]
push eax
call fcn.00548520
add esp, 8
jmp 0x547afc
mov ebx, dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, eax
mov dword [ebp - 0x44], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [ebp - 0x5c], eax
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 1
push 0
push edi
call dword [0x5a6158]
test eax, eax
jne 0x547b2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x1d
xor eax, eax
mov edi, 0x5a2aa0
rep stosd dword es:[edi], eax
mov eax, 3
mov dword [0x5a2aa8], eax
mov dword [0x5a2acc], eax
mov dword [0x5a2ac0], eax
xor edx, edx
cmp dword [ebp - 0x3c], edx
je 0x547bac
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0xb8]
mov dword [0x5a2aa0], eax
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0xc4]
mov dword [0x5a2ac4], eax
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0xb4]
mov dword [0x5a2ab8], eax
mov ecx, dword [esi + 4]
mov ax, word [ecx + 0xbc]
mov word [0x5a2aa4], ax
mov ecx, dword [esi + 4]
mov ax, word [ecx + 0xc8]
mov word [0x5a2ac8], ax
mov ecx, dword [esi + 4]
mov ax, word [ecx + 0xc8]
jmp 0x547be8
mov ecx, 0xb3
xor eax, eax
mov edi, 0x5a07d0
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x38]
mov dword [0x5a2aa0], ecx
mov eax, dword [ebp - 0x50]
mov dword [0x5a2ac4], eax
mov ecx, dword [ebp - 0x48]
mov dword [0x5a2ab8], ecx
mov ax, word [ebp - 0x1c]
mov word [0x5a2aa4], ax
mov ax, word [ebp - 0x28]
mov word [0x5a2ac8], ax
mov word [0x5a2abc], ax
mov word [0x5a3968], 7
mov word [0x5a396a], dx
mov word [0x5a396c], dx
mov word [0x5a396e], dx
mov eax, dword [0x5a615c]
cmp eax, edx
je 0x547c1e
push 0x5a3968
call eax
xor edx, edx
mov dword [ebp - 4], edx
xor esi, esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x2c], edx
push edx
push fcn.00547eb0
push 0x547f10
push 0x547e10
push 0x5a07d0
push 0x5a2aa0
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x44]
push edx
push 0x14c
call dword [0x5a6150]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x547c95
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
dec dword [0x589074]
js 0x547c81
mov eax, dword [0x589070]
mov byte [eax], 0xa
inc dword [0x589070]
jmp 0x547d53
push 0x589070
push 0xa
call fcn.0056511b
add esp, 8
jmp 0x547d53
lea ecx, [ebp - 0x2c]
push ecx
push ebx
push esi
mov edx, dword [ebp - 0x30]
push edx
push 0x5a2aa0
call fcn.005481b0
add esp, 0x14
test eax, eax
je 0x547d53
mov eax, dword [0x5a2aac]
test eax, eax
je 0x547d53
inc esi
mov dword [ebp - 0x34], esi
xor edx, edx
jmp 0x547c29
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], 1
jne 0x547dd7
mov esi, dword [ebp - 0x54]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, 0x4000
sub eax, ecx
lea edi, [edx + 1]
cmp eax, edi
jl 0x547db0
lea edx, [ecx + ebx]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
jmp 0x547dd2
sub ebx, edx
add ebx, 0x3fff
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x44]
push ecx
call dword [0x5a6160]
mov edx, dword [0x5a6154]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret