Function at 0x482930
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b2d8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x62819c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push str.kaccountsdk
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x48], 0
call fcn.00517310
push 1
push 3
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00525fa0
add esp, 0x10
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0051b740
mov esi, eax
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x482bf5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 2
test esi, esi
je 0x4829f1
test esi, 0xffff0000
jne 0x4829d5
movzx eax, si
lea ecx, [ebp - 0x44]
push eax
call fcn.004295b0
jmp 0x4829fd
mov ecx, esi
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4829e0
sub ecx, edx
sar ecx, 1
jmp 0x4829f3
xor ecx, ecx
push ecx
push esi
lea ecx, [ebp - 0x44]
call fcn.00429870
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x482a3b
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x482a31
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x482bff
push edx
push ecx
call fcn.00546044
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x482a8d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x482a83
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x482bff
push edx
push ecx
call fcn.00546044
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
push str.kaccountsdk.dll
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004434e0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0042a710
add esp, 0xc
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call fcn.0042a6a0
mov edx, dword [ebp - 0x4c]
or edi, 0xffffffff
mov byte [ebp - 4], 6
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x482af4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x50]
mov eax, edi
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x482b12
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x44]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call ebx
test eax, eax
je 0x482b4c
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x482b46
push str.GetStdAccountSdk
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x482bb0
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push str.office6kaccountsdk.dll
push dword [ebp - 0x54]
lea eax, [ebp - 0x4c]
push eax
call fcn.00429080
add esp, 0xc
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
call fcn.0042a6a0
mov edx, dword [ebp - 0x4c]
mov eax, edi
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x482b8b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x44]
push esi
call ebx
test eax, eax
je 0x482bb6
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x482bb6
push str.GetStdAccountSdk
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x482bb6
lea ecx, [ebp - 0x48]
push ecx
call eax
mov ebx, dword [ebp - 0x48]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x482bd5
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00545ec7
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004293d0
call fcn.00555394
int3