Function at 0x4031d0
Capabilities:
Hash data using sha1

Disassembly:
jmp 0x404830
sub esp, 0xd0
mov eax, dword [0x40a190]
xor eax, esp
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xd4]
push ebx
push ebp
push esi
mov dword [esp + 0x10], eax
xor eax, eax
push edi
mov edi, dword [esp + 0xec]
mov dword [esp + 0x7d], eax
mov dword [esp + 0x81], eax
mov dword [esp + 0x85], eax
mov dword [esp + 0x89], eax
mov dword [esp + 0x8d], eax
mov dword [esp + 0x91], eax
mov dword [esp + 0x95], eax
mov word [esp + 0x99], ax
mov byte [esp + 0x9b], al
mov byte [esp + 0xbc], al
mov dword [esp + 0xbd], eax
mov dword [esp + 0xc1], eax
mov dword [esp + 0xc5], eax
mov dword [esp + 0xc9], eax
mov dword [esp + 0xcd], eax
mov dword [esp + 0xd1], eax
mov dword [esp + 0xd5], eax
mov word [esp + 0xd9], ax
mov byte [esp + 0xdb], al
mov byte [esp + 0x9c], al
mov dword [esp + 0x9d], eax
mov dword [esp + 0xa1], eax
mov dword [esp + 0xa5], eax
mov dword [esp + 0xa9], eax
mov dword [esp + 0xad], eax
mov dword [esp + 0xb1], eax
mov dword [esp + 0xb5], eax
mov word [esp + 0xb9], ax
mov byte [esp + 0xbb], al
mov eax, edi
mov ebp, ecx
mov byte [esp + 0x7c], 0
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x404933
mov ebx, dword [esp + 0xe8]
sub eax, ecx
mov esi, eax
mov ecx, ebx
mov dword [esp + 0x18], esi
lea eax, [ecx + 1]
mov edi, edi
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x404950
sub ecx, eax
mov dword [esp + 0x1c], ecx
cmp esi, 0x20
jb 0x404969
xor al, al
jmp 0x404b31
cmp ecx, 0x20
jae 0x404962
lea esi, [esp + 0xbc]
mov ecx, edi
sub esi, edi
lea esp, [esp]
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
test dl, dl
jne 0x404980
lea esi, [esp + 0x9c]
mov ecx, ebx
sub esi, ebx
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
test dl, dl
jne 0x404995
mov bl, byte [ebp + 4]
mov dword [esp + 0x10], 0x783225
lea ecx, [esp + 0xbc]
cmp byte [esp + 0xbc], dl
je 0x4049dc
lea ebx, [ebx]
mov dl, byte [ecx]
lea eax, [edx - 0x61]
cmp al, 0x19
ja 0x4049ce
add dl, 0xe0
mov byte [ecx], dl
cmp dl, 0x20
jne 0x4049d6
mov byte [ecx], 0x30
inc ecx
cmp byte [ecx], 0
jne 0x4049c0
cmp byte [esp + 0x9c], 0
lea edx, [esp + 0x9c]
je 0x404a0c
lea ecx, [ecx]
mov cl, byte [edx]
lea eax, [ecx - 0x61]
cmp al, 0x19
ja 0x4049fe
add cl, 0xe0
mov byte [edx], cl
cmp cl, 0x20
jne 0x404a06
mov byte [edx], 0x30
inc edx
cmp byte [edx], 0
jne 0x4049f0
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0xc0]
push edx
lea eax, [esp + 0x28]
xor esi, esi
push eax
mov dword [esp + 0x3c], 0x67452301
mov dword [esp + 0x38], 0xefcdab89
mov dword [esp + 0x34], 0x98badcfe
mov dword [esp + 0x30], 0x10325476
mov dword [esp + 0x2c], 0xc3d2e1f0
mov dword [esp + 0x40], esi
mov dword [esp + 0x84], esi
call fcn.004044e0
mov ecx, dword [ebp + 0x18]
lea eax, [ebp + 8]
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x404a69
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004044e0
mov edx, dword [esp + 0x28]
push edx
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.004044e0
add esp, 0x18
lea eax, [esp + 0x20]
call fcn.004045b0
mov edi, dword [sym.imp.MSVCR100.dll_sprintf]
mov edi, edi
mov al, byte [esp + esi*2 + 0x39]
add al, byte [esp + esi*2 + 0x38]
lea ecx, [esp + esi*2 + 0x7c]
movzx edx, al
mov byte [esp + esi + 0x38], al
push edx
lea eax, [esp + 0x14]
push eax
push ecx
call edi
xor bl, byte [esp + esi + 0x44]
inc esi
add esp, 0xc
cmp esi, 3
jl 0x404aa0
movzx edx, bl
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + esi*2 + 0x84]
push ecx
call edi
add esp, 0xc
cmp byte [esp + 0x7c], 0
lea eax, [esp + 0x7c]
je 0x404b0d
lea ebx, [ebx]
mov cl, byte [eax]
lea edx, [ecx - 0x61]
cmp dl, 0x19
ja 0x404aff
add cl, 0xe0
mov byte [eax], cl
cmp cl, 0x20
jne 0x404b07
mov byte [eax], 0x30
inc eax
cmp byte [eax], 0
jne 0x404af0
lea eax, [esp + 0x7c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404b14
mov ecx, dword [esp + 0x14]
sub eax, edx
push eax
lea eax, [esp + 0x80]
push eax
call fcn.004013e0
mov al, 1
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00404e50
add esp, 0xd0
ret 0xc