Function at 0x4a5420
Capabilities:
Connect to http server
Create http request
Get file size
Read and send data from client to server
Read data from internet
Read file on windows
Receive data
Resolve function by parsing pe exports
Send data
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x4e700a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcc
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 9
xor eax, eax
lea edi, [esp + 0xb8]
mov dword [esp + 0xb4], ebx
push 0x2800
rep stosd dword es:[edi], eax
call fcn.004d456e
add esp, 4
mov dword [esp + 0x2c], eax
mov al, byte [esp + 0x13]
lea ecx, [esp + 0x80]
push ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x54], 0x493e0
mov byte [esp + 0x84], al
call fcn.00407180
mov edi, 0x5188e8
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x84]
push ebp
call fcn.00408590
test al, al
je 0x4a54e6
mov edi, dword [esp + 0x84]
mov ecx, ebp
mov edx, ecx
mov esi, 0x5188e8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x84]
call fcn.00408570
mov al, byte [esp + 0x13]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x5c], esp
push 0
mov ecx, esi
mov dword [esp + 0xf8], 0
mov byte [esi], al
call fcn.00407180
mov edx, dword [esp + 0x104]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.00406da0
lea ecx, [esp + 0xb4]
push ecx
call fcn.004a5fa0
add esp, 0x14
mov edx, dword [0x4ea898]
lea ecx, [esp + 0x80]
push edx
push 0
push eax
mov byte [esp + 0xf0], 1
call fcn.00406ba0
push 1
lea ecx, [esp + 0xa8]
mov byte [esp + 0xe8], 0
call fcn.00407180
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x58]
mov byte [esp + 0x58], al
call fcn.00407180
mov edi, str._____________________________40099aabb3793
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x58]
push ebp
call fcn.00408590
test al, al
je 0x4a55c0
mov edi, dword [esp + 0x58]
mov ecx, ebp
mov edx, ecx
mov esi, str._____________________________40099aabb3793
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x58]
call fcn.00408570
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x68]
mov byte [esp + 0xe8], 2
mov byte [esp + 0x68], al
call fcn.00407180
mov edi, str.Content_Type:_multipart_form_data__boundary
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x68]
push ebp
call fcn.00408590
test al, al
je 0x4a561f
mov edi, dword [esp + 0x68]
mov ecx, ebp
mov edx, ecx
mov esi, str.Content_Type:_multipart_form_data__boundary
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x68]
call fcn.00408570
mov eax, dword [0x4ea898]
lea ecx, [esp + 0x54]
push eax
push 0
push ecx
lea ecx, [esp + 0x70]
mov byte [esp + 0xf0], 3
call fcn.00406a00
mov edi, 0x509cc8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x509cc8
lea ecx, [esp + 0x6c]
call fcn.00406ae0
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x40], dl
call fcn.00407180
mov edi, 0x509cc4
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x40]
push ebp
call fcn.00408590
test al, al
je 0x4a56b2
mov edi, dword [esp + 0x40]
mov ecx, ebp
mov eax, ecx
mov esi, 0x509cc4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x40]
call fcn.00408570
mov ecx, dword [0x4ea898]
lea edx, [esp + 0x54]
push ecx
push 0
push edx
lea ecx, [esp + 0x48]
mov byte [esp + 0xf0], 4
call fcn.00406a00
mov edi, str._r_nContent_Disposition:_form_data__filename_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str._r_nContent_Disposition:_form_data__filename_
lea ecx, [esp + 0x44]
call fcn.00406ae0
mov eax, dword [0x4ea898]
lea ecx, [esp + 0x80]
push eax
push 0
push ecx
lea ecx, [esp + 0x48]
call fcn.00406a00
mov edi, str.____name_upload_data_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.____name_upload_data_
lea ecx, [esp + 0x44]
call fcn.00406ae0
mov edi, str.__r_nContent_Type:_text_html_r_n_r_n
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.__r_nContent_Type:_text_html_r_n_r_n
lea ecx, [esp + 0x44]
call fcn.00406ae0
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], dl
call fcn.00407180
mov edi, 0x509cc8
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
call fcn.00408590
test al, al
je 0x4a579b
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov eax, ecx
mov esi, 0x509cc8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.00408570
mov edi, 0x509cc4
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0xe4], 5
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x509cc4
lea ecx, [esp + 0x1c]
call fcn.00406ae0
mov ecx, dword [0x4ea898]
lea edx, [esp + 0x54]
push ecx
push 0
push edx
lea ecx, [esp + 0x20]
call fcn.00406a00
mov edi, str._r_nContent_Disposition:_form_data__name_identity_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str._r_nContent_Disposition:_form_data__name_identity_
lea ecx, [esp + 0x1c]
call fcn.00406ae0
mov edi, str._r_n_r_n
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str._r_n_r_n
lea ecx, [esp + 0x1c]
call fcn.00406ae0
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push 0x518b20
call fcn.004d45a2
lea eax, [esp + 0x38]
push eax
call fcn.004157e0
add esp, 8
mov edx, dword [eax]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0xe4], 6
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.00406ae0
lea ecx, [esp + 0x34]
mov byte [esp + 0xe4], 5
call fcn.004d482d
mov edi, str._r_n__
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str._r_n__
lea ecx, [esp + 0x1c]
call fcn.00406ae0
mov ecx, dword [0x4ea898]
lea edx, [esp + 0x54]
push ecx
push 0
push edx
lea ecx, [esp + 0x20]
call fcn.00406a00
mov eax, dword [0x509d70]
lea ecx, [esp + 0x94]
push eax
push 0x509d64
push ecx
call fcn.004aed8c
mov edi, str._r_nContent_Disposition:_form_data__name_PID_
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov edx, dword [0x4ea898]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [esp + 0x1c]
sub edx, ecx
cmp edx, esi
ja 0x4a58da
call fcn.004c09c1
test esi, esi
jbe 0x4a591f
mov eax, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x18]
lea ebp, [eax + esi]
push ebp
call fcn.00408590
test al, al
je 0x4a591f
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push ebp
lea edi, [edx + ecx]
mov ecx, esi
mov eax, ecx
mov esi, str._r_nContent_Disposition:_form_data__name_PID_
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.00408570
mov edi, str._r_n_r_n
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [0x4ea898]
sub ecx, edx
cmp ecx, esi
ja 0x4a5945
call fcn.004c09c1
test esi, esi
jbe 0x4a598a
mov edx, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x18]
lea ebp, [edx + esi]
push ebp
call fcn.00408590
test al, al
je 0x4a598a
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push ebp
lea edi, [ecx + eax]
mov ecx, esi
mov edx, ecx
mov esi, str._r_n_r_n
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.00408570
lea edi, [esp + 0x94]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x1c]
repne scasb al, byte es:[edi]
mov eax, dword [0x4ea898]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x4a59b1
call fcn.004c09c1
test esi, esi
jbe 0x4a59f8
mov ecx, dword [esp + 0x1c]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x18]
push ebp
call fcn.00408590
test al, al
je 0x4a59f8
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, esi
lea esi, [esp + 0x94]
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.00408570
mov edi, str._r_n__
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x1c]
repne scasb al, byte es:[edi]
mov eax, dword [0x4ea898]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x4a5a1d
call fcn.004c09c1
test esi, esi
jbe 0x4a5a62
mov ecx, dword [esp + 0x1c]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x18]
push ebp
call fcn.00408590
test al, al
je 0x4a5a62
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, esi
mov esi, str._r_n__
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.00408570
mov eax, dword [0x4ea898]
lea ecx, [esp + 0x54]
push eax
push 0
push ecx
lea ecx, [esp + 0x20]
call fcn.00406a00
mov edi, str.___r_n
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x4ea898]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [esp + 0x1c]
sub edx, ecx
cmp edx, esi
ja 0x4a5a9e
call fcn.004c09c1
test esi, esi
jbe 0x4a5ae3
mov eax, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x18]
lea ebp, [eax + esi]
push ebp
call fcn.00408590
test al, al
je 0x4a5ae3
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push ebp
lea edi, [edx + ecx]
mov ecx, esi
mov eax, ecx
mov esi, str.___r_n
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.00408570
push 0
push 0
push 0
push 1
push str.HttpSendRequest
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esp + 0x90], eax
je 0x4a5e84
mov ecx, dword [esp + 0xf8]
mov edx, dword [esp + 0xec]
push 1
push 0
push 3
push 0
push 0
push ecx
push edx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
mov dword [esp + 0x4c], eax
jne 0x4a5b3d
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
xor ebx, ebx
jmp 0x4a5e4f
mov ecx, dword [esp + 0xf0]
push 0
push 0x4400000
push 0
push 0
push 0
push ecx
push 0x509be8
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
test edi, edi
mov dword [esp + 0x28], edi
jne 0x4a5b73
mov ebp, dword [esp + 0x2c]
xor ebx, ebx
jmp 0x4a5e4f
mov edx, dword [esp + 0xf4]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x30], eax
jne 0x4a5ba7
mov ebp, dword [esp + 0x2c]
xor ebx, ebx
jmp 0x4a5e4f
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
lea eax, [esp + 0x50]
push 4
push eax
push 2
push edi
call esi
lea ecx, [esp + 0x50]
push 4
push ecx
push 5
push edi
call esi
lea edx, [esp + 0x50]
push 4
push edx
push 7
push edi
call esi
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x4a5bde
mov eax, 0x4ea894
mov ecx, dword [esp + 0x6c]
push 0x20000000
push ecx
push eax
push edi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x4a5c05
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, dword [esp + 0x2c]
xor ebx, ebx
jmp 0x4a5e4f
mov edx, dword [esp + 0x30]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x44]
add edx, ecx
push 0
add edx, eax
push 0
lea eax, [esp + 0xbc]
push 0
push eax
push edi
mov dword [esp + 0xc8], 0x28
mov dword [esp + 0xe4], edx
call dword [sym.imp.WININET.dll_HttpSendRequestExA]
test eax, eax
jne 0x4a5c5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, dword [esp + 0x2c]
xor ebx, ebx
jmp 0x4a5e4f
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, dword [sym.imp.WININET.dll_InternetWriteFile]
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x38]
inc eax
cmp eax, 1
mov dword [esp + 0x38], eax
jne 0x4a5cb4
mov eax, dword [esp + 0x44]
cmp eax, 0x2800
jbe 0x4a5c8c
mov eax, 0x27ff
mov ecx, eax
mov eax, dword [esp + 0x40]
test eax, eax
mov dword [esp + 0x24], ecx
jne 0x4a5c9f
mov eax, 0x4ea894
push ecx
push eax
push ebp
call fcn.004b01f0
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov byte [ecx + ebp], 0
jmp 0x4a5cd0
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x24]
push 0
push edx
push 0x2800
push ebp
push eax
call esi
test eax, eax
je 0x4a5da2
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x7c]
push ecx
push edx
push ebp
push ebx
call edi
test eax, eax
je 0x4a5d11
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
add ecx, eax
mov eax, dword [esp + 0x24]
cmp eax, 0x2800
mov dword [esp + 0x78], ecx
jae 0x4a5d02
cmp dword [esp + 0x38], 1
ja 0x4a5d1e
cmp dword [esp + 0x38], 0x7d0
ja 0x4a5d1e
jmp 0x4a5c6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
jmp 0x4a5e4b
mov ecx, dword [esp + 0x1c]
cmp ecx, 0x2800
jbe 0x4a5d2f
mov ecx, 0x27ff
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
test eax, eax
jne 0x4a5d40
mov eax, 0x4ea894
push ecx
push eax
push ebp
call fcn.004b01f0
mov ecx, dword [esp + 0x30]
add esp, 0xc
lea edx, [esp + 0x7c]
mov byte [ecx + ebp], 0
mov eax, dword [esp + 0x24]
push edx
push eax
push ebp
push ebx
call edi
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0
push ebx
mov dword [esp + 0x40], 0
call dword [sym.imp.WININET.dll_HttpEndRequestA]
test eax, eax
jne 0x4a5d8c
xor ebx, ebx
jmp 0x4a5e4b
lea edx, [esp + 0x24]
push edx
push 0x2800
push ebp
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4a5da9
xor ebx, ebx
jmp 0x4a5e4b
mov eax, dword [esp + 0x24]
mov byte [eax + ebp], 0
mov ecx, dword [0x513458]
mov dword [esp + 0x34], ecx
push ecx
mov byte [esp + 0xe8], 7
mov ecx, esp
mov dword [esp + 0x78], esp
push ebp
call fcn.004d489b
lea edx, [esp + 0x78]
push edx
call fcn.00415af0
add esp, 8
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0xe8], 8
call fcn.004d4966
lea ecx, [esp + 0x74]
mov byte [esp + 0xe4], 7
call fcn.004d482d
push 0
lea ecx, [esp + 0x38]
call fcn.004d4c5d
push eax
push 0x509d38
push ebp
call fcn.004aed8c
add esp, 0xc
lea ecx, [esp + 0x34]
push 0xffffffffffffffff
call fcn.004d4cac
lea ecx, [esp + 0x34]
mov byte [esp + 0xe4], 5
call fcn.004d482d
push str.200
push ebp
call fcn.004b0a20
mov ebx, eax
add esp, 8
neg ebx
sbb ebx, ebx
inc ebx
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x90]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push eax
call esi
test edi, edi
je 0x4a5e66
push edi
call esi
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4a5e71
push eax
call esi
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4a5e88
mov ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4a5e88
mov ebp, dword [esp + 0x2c]
xor esi, esi
cmp ebp, esi
je 0x4a5e97
push ebp
call fcn.004d4597
add esp, 4
mov ecx, dword [esp + 0x18]
cmp ecx, esi
je 0x4a5ebb
mov al, byte [ecx - 1]
test al, al
je 0x4a5eb1
cmp al, 0xff
je 0x4a5eb1
dec al
mov byte [ecx - 1], al
jmp 0x4a5ebb
dec ecx
push ecx
call fcn.004d4597
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x18], esi
cmp ecx, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
je 0x4a5eeb
mov al, byte [ecx - 1]
test al, al
je 0x4a5ee1
cmp al, 0xff
je 0x4a5ee1
dec al
mov byte [ecx - 1], al
jmp 0x4a5eeb
dec ecx
push ecx
call fcn.004d4597
add esp, 4
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x40], esi
cmp ecx, esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
je 0x4a5f1b
mov al, byte [ecx - 1]
test al, al
je 0x4a5f11
cmp al, 0xff
je 0x4a5f11
dec al
mov byte [ecx - 1], al
jmp 0x4a5f1b
dec ecx
push ecx
call fcn.004d4597
add esp, 4
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x68], esi
cmp ecx, esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
je 0x4a5f4b
mov al, byte [ecx - 1]
test al, al
je 0x4a5f41
cmp al, 0xff
je 0x4a5f41
dec al
mov byte [ecx - 1], al
jmp 0x4a5f4b
dec ecx
push ecx
call fcn.004d4597
add esp, 4
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x58], esi
cmp ecx, esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
je 0x4a5f7e
mov al, byte [ecx - 1]
test al, al
je 0x4a5f74
cmp al, 0xff
je 0x4a5f74
dec al
mov byte [ecx - 1], al
jmp 0x4a5f7e
dec ecx
push ecx
call fcn.004d4597
add esp, 4
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
mov eax, ebx
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xd8
ret