Function at 0x5489f0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d3a0
push 0x566378
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.0054a0b0
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 [0x59fd94], ebx
push str.imagehlp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x59fd94], eax
cmp eax, ebx
je 0x548e3e
mov dword [0x59fd90], ebx
mov dword [0x59fd98], ebx
mov dword [0x59fda0], ebx
mov dword [0x59fd9c], ebx
mov dword [0x59fda4], ebx
push str.StackWalk
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call edi
mov dword [0x59fd90], eax
push str.SymInitialize
mov eax, dword [0x59fd94]
push eax
call edi
mov dword [0x59fd98], eax
push str.SymCleanup
mov ecx, dword [0x59fd94]
push ecx
call edi
mov dword [0x59fda0], eax
push str.ImagehlpApiVersionEx
mov edx, dword [0x59fd94]
push edx
call edi
mov dword [0x59fd9c], eax
push str.SymFunctionTableAccess
mov eax, dword [0x59fd94]
push eax
call edi
mov dword [0x59fda4], eax
cmp dword [0x59fd90], ebx
je 0x548e3e
cmp dword [0x59fd98], ebx
je 0x548e3e
cmp dword [0x59fda0], ebx
je 0x548e3e
cmp eax, ebx
je 0x548e3e
mov dword [ebp - 0x30], 1
push str.FOR_ENABLE_VERBOSE_STACK_TRACE
call fcn.00553130
add esp, 4
test eax, eax
je 0x548b1c
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x3c], ebx
mov esi, dword [ebp + 8]
cmp esi, ebx
je 0x548b2d
mov ecx, dword [esi]
mov edx, dword [ecx]
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x3c], ebx
je 0x548b49
cmp dword [ebp - 0x30], ebx
jne 0x548b49
mov ebx, dword [ebp + 0xc]
push ebx
mov eax, dword [esi + 4]
push eax
call fcn.00549570
add esp, 8
jmp 0x548b4c
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 [0x59fd98]
test eax, eax
jne 0x548b7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x1d
xor eax, eax
mov edi, 0x59c6e0
rep stosd dword es:[edi], eax
mov eax, 3
mov dword [0x59c6e8], eax
mov dword [0x59c70c], eax
mov dword [0x59c700], eax
xor edx, edx
cmp dword [ebp - 0x3c], edx
je 0x548bfc
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0xb8]
mov dword [0x59c6e0], eax
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0xc4]
mov dword [0x59c704], eax
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0xb4]
mov dword [0x59c6f8], eax
mov ecx, dword [esi + 4]
mov ax, word [ecx + 0xbc]
mov word [0x59c6e4], ax
mov ecx, dword [esi + 4]
mov ax, word [ecx + 0xc8]
mov word [0x59c708], ax
mov ecx, dword [esi + 4]
mov ax, word [ecx + 0xc8]
jmp 0x548c38
mov ecx, 0xb3
xor eax, eax
mov edi, 0x59a410
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x38]
mov dword [0x59c6e0], ecx
mov eax, dword [ebp - 0x50]
mov dword [0x59c704], eax
mov ecx, dword [ebp - 0x48]
mov dword [0x59c6f8], ecx
mov ax, word [ebp - 0x1c]
mov word [0x59c6e4], ax
mov ax, word [ebp - 0x28]
mov word [0x59c708], ax
mov word [0x59c6fc], ax
mov word [0x59d5a8], 7
mov word [0x59d5aa], dx
mov word [0x59d5ac], dx
mov word [0x59d5ae], dx
mov eax, dword [0x59fd9c]
cmp eax, edx
je 0x548c6e
push 0x59d5a8
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.00548f00
push 0x548f60
push 0x548e60
push 0x59a410
push 0x59c6e0
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x44]
push edx
push 0x14c
call dword [0x59fd90]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x548ce5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
dec dword [0x58a064]
js 0x548cd1
mov eax, dword [0x58a060]
mov byte [eax], 0xa
inc dword [0x58a060]
jmp 0x548da3
push 0x58a060
push 0xa
call fcn.0056616b
add esp, 8
jmp 0x548da3
lea ecx, [ebp - 0x2c]
push ecx
push ebx
push esi
mov edx, dword [ebp - 0x30]
push edx
push 0x59c6e0
call fcn.00549200
add esp, 0x14
test eax, eax
je 0x548da3
mov eax, dword [0x59c6ec]
test eax, eax
je 0x548da3
inc esi
mov dword [ebp - 0x34], esi
xor edx, edx
jmp 0x548c79
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], 1
jne 0x548e27
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 0x548e00
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 0x548e22
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 [0x59fda0]
mov edx, dword [0x59fd94]
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