Function at 0x4869b0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da8c8
push 0x4a5e14
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.00487f00
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 [0x6346dc], ebx
push str.imagehlp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x6346dc], eax
cmp eax, ebx
je 0x486ddb
mov dword [0x6346d8], ebx
mov dword [0x6346e0], ebx
mov dword [0x6346e8], ebx
mov dword [0x6346e4], ebx
mov dword [0x6346ec], ebx
push str.StackWalk
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call edi
mov dword [0x6346d8], eax
push str.SymInitialize
mov eax, dword [0x6346dc]
push eax
call edi
mov dword [0x6346e0], eax
push str.SymCleanup
mov ecx, dword [0x6346dc]
push ecx
call edi
mov dword [0x6346e8], eax
push str.ImagehlpApiVersionEx
mov edx, dword [0x6346dc]
push edx
call edi
mov dword [0x6346e4], eax
push str.SymFunctionTableAccess
mov eax, dword [0x6346dc]
push eax
call edi
mov dword [0x6346ec], eax
cmp dword [0x6346d8], ebx
je 0x486ddb
cmp dword [0x6346e0], ebx
je 0x486ddb
cmp dword [0x6346e8], ebx
je 0x486ddb
cmp eax, ebx
je 0x486ddb
mov dword [ebp - 0x30], 1
push str.FOR_ENABLE_VERBOSE_STACK_TRACE
call fcn.00485620
add esp, 4
test eax, eax
je 0x486adc
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x3c], ebx
mov esi, dword [ebp + 8]
cmp esi, ebx
je 0x486aed
mov ecx, dword [esi]
mov edx, dword [ecx]
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x3c], ebx
je 0x486b09
cmp dword [ebp - 0x30], ebx
jne 0x486b09
mov ebx, dword [ebp + 0xc]
push ebx
mov eax, dword [esi + 4]
push eax
call fcn.00487500
add esp, 8
jmp 0x486b0c
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 [0x6346e0]
test eax, eax
jne 0x486b3d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x1d
xor eax, eax
mov edi, 0x5b1c58
rep stosd dword es:[edi], eax
mov eax, 3
mov dword [0x5b1c60], eax
mov dword [0x5b1c84], eax
mov dword [0x5b1c78], eax
xor edx, edx
cmp dword [ebp - 0x3c], edx
je 0x486bbc
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0xb8]
mov dword [0x5b1c58], eax
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0xc4]
mov dword [0x5b1c7c], eax
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0xb4]
mov dword [0x5b1c70], eax
mov ecx, dword [esi + 4]
mov ax, word [ecx + 0xbc]
mov word [0x5b1c5c], ax
mov ecx, dword [esi + 4]
mov ax, word [ecx + 0xc8]
mov word [0x5b1c80], ax
mov ecx, dword [esi + 4]
mov ax, word [ecx + 0xc8]
jmp 0x486bf8
mov ecx, 0xb3
xor eax, eax
mov edi, 0x5af988
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x38]
mov dword [0x5b1c58], ecx
mov eax, dword [ebp - 0x50]
mov dword [0x5b1c7c], eax
mov ecx, dword [ebp - 0x48]
mov dword [0x5b1c70], ecx
mov ax, word [ebp - 0x1c]
mov word [0x5b1c5c], ax
mov ax, word [ebp - 0x28]
mov word [0x5b1c80], ax
mov word [0x5b1c74], ax
mov word [0x5b2b20], 7
mov word [0x5b2b22], dx
mov word [0x5b2b24], dx
mov word [0x5b2b26], dx
mov eax, dword [0x6346e4]
cmp eax, edx
je 0x486c2e
push 0x5b2b20
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.00486e90
push 0x486ef0
push 0x486df0
push 0x5af988
push 0x5b1c58
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x44]
push edx
push 0x14c
call dword [0x6346d8]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x486c85
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
push 0xa
call fcn.004a5d11
add esp, 4
jmp 0x486d40
lea eax, [ebp - 0x2c]
push eax
push ebx
push esi
mov ecx, dword [ebp - 0x30]
push ecx
push 0x5b1c58
call fcn.00487190
add esp, 0x14
test eax, eax
je 0x486d40
mov eax, dword [0x5b1c64]
test eax, eax
je 0x486d40
inc esi
mov dword [ebp - 0x34], esi
xor edx, edx
jmp 0x486c39
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], 1
jne 0x486dc4
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 0x486d9d
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 0x486dbf
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 [0x6346e8]
mov edx, dword [0x6346dc]
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