Function at 0x526160
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6b3032
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1d80
call fcn.005cd2a0
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov esi, dword [0x719a40]
call fcn.00526000
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov ecx, dword [0x719a3c]
lea eax, [esp + 0x30]
push eax
push ecx
mov dword [esp + 0x1da4], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [0x719a3c]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_CreateWindowExA]
push ebx
push edx
mov edx, dword [esp + 0x44]
push 0x244
push 0x30c
add eax, edx
push eax
add ecx, dword [esp + 0x4c]
push ecx
push 0xd0000000
push ebx
push str.static
push ebx
call esi
push ebx
push ebx
mov dword [ebp + 4], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, dword [ebp + 4]
push eax
push ebx
push edx
push 0x244
push 0x30c
push ebx
push ebx
push 0x50000000
push str.Shell.Explorer.2
push str.AtlAxWin71
push ebx
call esi
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x52669e
xor edx, edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], edx
xor eax, eax
mov dword [esp + 0x80], edx
mov ecx, 0x100
lea edi, [esp + 0x990]
rep stosd dword es:[edi], eax
mov dword [esp + 0x84], edx
mov ecx, 0x100
lea edi, [esp + 0x590]
rep stosd dword es:[edi], eax
mov dword [esp + 0x88], edx
mov ecx, 0x400
lea edi, [esp + 0xd90]
push 0x70e240
mov byte [esp + 0x1da0], 1
mov byte [esp + 0x90], dl
rep stosd dword es:[edi], eax
call fcn.005d0050
mov eax, dword [0x223f100]
add eax, 0x24c
push eax
lea ecx, [esp + 0x74]
push 0x6be170
push ecx
call fcn.005cd489
mov esi, 0xc3d2e1f0
lea eax, [esp + 0x7c]
add esp, 0x10
mov dword [ebp + 0x618], 0x67452301
mov dword [ebp + 0x61c], 0xefcdab89
mov dword [ebp + 0x620], 0x98badcfe
mov dword [ebp + 0x624], 0x10325476
mov dword [ebp + 0x628], esi
mov dword [ebp + 0x62c], ebx
mov dword [ebp + 0x630], ebx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x526305
sub eax, edi
push eax
lea edx, [esp + 0x70]
push edx
mov ecx, ebp
call fcn.0051c4c0
mov ecx, ebp
call fcn.0051c5a0
push ebx
lea eax, [esp + 0x994]
push eax
mov ecx, ebp
call fcn.0051c6c0
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x190]
rep stosd dword es:[edi], eax
mov eax, dword [0x223f100]
push str.SHAIYA_CRYPT_KEY
lea ecx, [eax + 0x26f]
push ecx
add eax, 0x24c
push eax
lea edx, [esp + 0x19c]
push str._s_s_s
push edx
call fcn.005cd489
push 0x70e240
call fcn.005d0050
lea eax, [esp + 0x1a8]
mov dword [ebp + 0x628], esi
add esp, 0x18
mov dword [ebp + 0x618], 0x67452301
mov dword [ebp + 0x61c], 0xefcdab89
mov dword [ebp + 0x620], 0x98badcfe
mov dword [ebp + 0x624], 0x10325476
mov dword [ebp + 0x62c], ebx
mov dword [ebp + 0x630], ebx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x5263c0
sub eax, esi
push eax
lea eax, [esp + 0x194]
push eax
mov ecx, ebp
call fcn.0051c4c0
mov ecx, ebp
call fcn.0051c5a0
push ebx
lea ecx, [esp + 0x594]
push ecx
mov ecx, ebp
call fcn.0051c6c0
lea edx, [esp + 0x590]
push edx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0xd98]
push str.id_schk_s
push ecx
call fcn.005cd489
mov eax, dword [0x719a44]
add esp, 0x10
cmp eax, ebx
jne 0x52643a
mov eax, dword [0x719a3c]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [ebp + 0x20], ecx
mov dword [ebp + 0x24], edx
mov ecx, dword [0x22033cc]
mov eax, dword [ebp + 8]
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
xor edx, edx
mov esi, eax
cmp esi, ebx
setne dl
mov dword [esp + 0x18], esi
dec edx
and edx, 0x80004005
mov dword [esp + 0x1c], edx
jne 0x52668d
mov edi, dword [esp + 0x14]
xor eax, eax
cmp esi, ebx
mov dword [esp + 0x14], eax
je 0x52648c
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
push 0x6c4d9c
push esi
call dword [eax]
mov eax, dword [esp + 0x14]
cmp edi, ebx
je 0x52649a
mov edx, dword [edi]
push edi
call dword [edx + 8]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x52667a
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0xcc]
mov ecx, 9
mov esi, str.https:__cb.shaiya.jp_cb_auth.action
lea edi, [esp + 0x90]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [esp + 0x20]
xor eax, eax
mov ecx, 0x37
lea edi, [esp + 0xb4]
push edx
rep stosd dword es:[edi], eax
call esi
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1da0], 2
mov word [esp + 0x4c], bx
call fcn.0051caf0
lea ecx, [esp + 0x38]
push ecx
call esi
push str.Content_Type:_application_x_www_form_urlencoded_n
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1da0], 4
mov word [esp + 0x5c], bx
call fcn.0051caf0
lea eax, [esp + 0xd90]
mov byte [esp + 0x1d9c], 5
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x526530
sub eax, edx
mov esi, eax
push esi
push ebx
push 0x11
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
mov edi, eax
cmp edi, ebx
je 0x5265c0
lea eax, [esp + 0x1c]
push eax
push edi
mov dword [esp + 0x24], ebx
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
test eax, eax
je 0x52659c
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x58]
push ecx
call esi
lea edx, [esp + 0x38]
push edx
call esi
lea eax, [esp + 0x48]
push eax
call esi
lea ecx, [esp + 0x20]
push ecx
call esi
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov byte [esp + 0x1d9c], bl
je 0x52669e
mov edx, dword [eax]
push eax
jmp 0x52669b
xor eax, eax
cmp esi, ebx
jle 0x5265b5
mov dl, byte [esp + eax + 0xd90]
mov ecx, dword [esp + 0x1c]
mov byte [eax + ecx], dl
inc eax
cmp eax, esi
jl 0x5265a2
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
je 0x5265e2
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0x58]
push edx
call esi
lea eax, [esp + 0x38]
push eax
call esi
lea ecx, [esp + 0x48]
push ecx
call esi
lea edx, [esp + 0x20]
push edx
jmp 0x526634
cmp byte [ebp + 0x15], bl
mov word [esp + 0x38], 0x2011
mov dword [esp + 0x40], edi
jne 0x526614
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x58]
push edx
lea edx, [esp + 0x3c]
push edx
lea edx, [esp + 0x28]
push edx
push edx
lea edx, [esp + 0x58]
push edx
push eax
call dword [ecx + 0xd0]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x58]
push eax
call esi
lea ecx, [esp + 0x38]
push ecx
call esi
lea edx, [esp + 0x48]
push edx
call esi
lea eax, [esp + 0x20]
push eax
call esi
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov byte [esp + 0x1d9c], bl
je 0x52664b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov dword [esp + 0x1d9c], 0xffffffff
je 0x5266b7
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x1d94]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, ebx
mov byte [esp + 0x1d9c], bl
je 0x5266a2
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x52669e
cmp esi, ebx
mov byte [esp + 0x1d9c], bl
je 0x52669e
mov edx, dword [esi]
push esi
call dword [edx + 8]
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov dword [esp + 0x1d9c], 0xffffffff
je 0x5266b7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x1d94]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret