Function at 0x4a44b0
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 0x4e5f9a
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.004d35be
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.00406ab0
mov edi, 0x517348
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.00407ec0
test al, al
je 0x4a4576
mov edi, dword [esp + 0x84]
mov ecx, ebp
mov edx, ecx
mov esi, 0x517348
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.00407ea0
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.00406ab0
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.00406740
lea ecx, [esp + 0xb4]
push ecx
call fcn.004a5030
add esp, 0x14
mov edx, dword [0x4e9898]
lea ecx, [esp + 0x80]
push edx
push 0
push eax
mov byte [esp + 0xf0], 1
call fcn.00406540
push 1
lea ecx, [esp + 0xa8]
mov byte [esp + 0xe8], 0
call fcn.00406ab0
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x58]
mov byte [esp + 0x58], al
call fcn.00406ab0
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.00407ec0
test al, al
je 0x4a4650
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.00407ea0
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x68]
mov byte [esp + 0xe8], 2
mov byte [esp + 0x68], al
call fcn.00406ab0
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.00407ec0
test al, al
je 0x4a46af
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.00407ea0
mov eax, dword [0x4e9898]
lea ecx, [esp + 0x54]
push eax
push 0
push ecx
lea ecx, [esp + 0x70]
mov byte [esp + 0xf0], 3
call fcn.004063a0
mov edi, 0x508b64
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x508b64
lea ecx, [esp + 0x6c]
call fcn.00406480
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x40], dl
call fcn.00406ab0
mov edi, 0x508b60
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.00407ec0
test al, al
je 0x4a4742
mov edi, dword [esp + 0x40]
mov ecx, ebp
mov eax, ecx
mov esi, 0x508b60
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.00407ea0
mov ecx, dword [0x4e9898]
lea edx, [esp + 0x54]
push ecx
push 0
push edx
lea ecx, [esp + 0x48]
mov byte [esp + 0xf0], 4
call fcn.004063a0
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.00406480
mov eax, dword [0x4e9898]
lea ecx, [esp + 0x80]
push eax
push 0
push ecx
lea ecx, [esp + 0x48]
call fcn.004063a0
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.00406480
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.00406480
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], dl
call fcn.00406ab0
mov edi, 0x508b64
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.00407ec0
test al, al
je 0x4a482b
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov eax, ecx
mov esi, 0x508b64
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.00407ea0
mov edi, 0x508b60
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0xe4], 5
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x508b60
lea ecx, [esp + 0x1c]
call fcn.00406480
mov ecx, dword [0x4e9898]
lea edx, [esp + 0x54]
push ecx
push 0
push edx
lea ecx, [esp + 0x20]
call fcn.004063a0
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.00406480
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.00406480
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push 0x517560
call fcn.004d35f2
lea eax, [esp + 0x38]
push eax
call fcn.00416490
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.00406480
lea ecx, [esp + 0x34]
mov byte [esp + 0xe4], 5
call fcn.004d387d
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.00406480
mov ecx, dword [0x4e9898]
lea edx, [esp + 0x54]
push ecx
push 0
push edx
lea ecx, [esp + 0x20]
call fcn.004063a0
mov eax, dword [0x508c30]
lea ecx, [esp + 0x94]
push eax
push 0x508c00
push ecx
call fcn.004add1e
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 [0x4e9898]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [esp + 0x1c]
sub edx, ecx
cmp edx, esi
ja 0x4a496a
call fcn.004bfa61
test esi, esi
jbe 0x4a49af
mov eax, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x18]
lea ebp, [eax + esi]
push ebp
call fcn.00407ec0
test al, al
je 0x4a49af
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.00407ea0
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 [0x4e9898]
sub ecx, edx
cmp ecx, esi
ja 0x4a49d5
call fcn.004bfa61
test esi, esi
jbe 0x4a4a1a
mov edx, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x18]
lea ebp, [edx + esi]
push ebp
call fcn.00407ec0
test al, al
je 0x4a4a1a
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.00407ea0
lea edi, [esp + 0x94]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x1c]
repne scasb al, byte es:[edi]
mov eax, dword [0x4e9898]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x4a4a41
call fcn.004bfa61
test esi, esi
jbe 0x4a4a88
mov ecx, dword [esp + 0x1c]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x18]
push ebp
call fcn.00407ec0
test al, al
je 0x4a4a88
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.00407ea0
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 [0x4e9898]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x4a4aad
call fcn.004bfa61
test esi, esi
jbe 0x4a4af2
mov ecx, dword [esp + 0x1c]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x18]
push ebp
call fcn.00407ec0
test al, al
je 0x4a4af2
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.00407ea0
mov eax, dword [0x4e9898]
lea ecx, [esp + 0x54]
push eax
push 0
push ecx
lea ecx, [esp + 0x20]
call fcn.004063a0
mov edi, str.___r_n
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x4e9898]
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 0x4a4b2e
call fcn.004bfa61
test esi, esi
jbe 0x4a4b73
mov eax, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x18]
lea ebp, [eax + esi]
push ebp
call fcn.00407ec0
test al, al
je 0x4a4b73
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.00407ea0
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 0x4a4f14
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 0x4a4bcd
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
xor ebx, ebx
jmp 0x4a4edf
mov ecx, dword [esp + 0xf0]
push 0
push 0x4400000
push 0
push 0
push 0
push ecx
push 0x508a64
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
test edi, edi
mov dword [esp + 0x28], edi
jne 0x4a4c03
mov ebp, dword [esp + 0x2c]
xor ebx, ebx
jmp 0x4a4edf
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 0x4a4c37
mov ebp, dword [esp + 0x2c]
xor ebx, ebx
jmp 0x4a4edf
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 0x4a4c6e
mov eax, 0x4e9894
mov ecx, dword [esp + 0x6c]
push 0x20000000
push ecx
push eax
push edi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x4a4c95
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, dword [esp + 0x2c]
xor ebx, ebx
jmp 0x4a4edf
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 0x4a4cea
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, dword [esp + 0x2c]
xor ebx, ebx
jmp 0x4a4edf
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 0x4a4d44
mov eax, dword [esp + 0x44]
cmp eax, 0x2800
jbe 0x4a4d1c
mov eax, 0x27ff
mov ecx, eax
mov eax, dword [esp + 0x40]
test eax, eax
mov dword [esp + 0x24], ecx
jne 0x4a4d2f
mov eax, 0x4e9894
push ecx
push eax
push ebp
call fcn.004af060
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov byte [ecx + ebp], 0
jmp 0x4a4d60
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 0x4a4e32
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x7c]
push ecx
push edx
push ebp
push ebx
call edi
test eax, eax
je 0x4a4da1
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 0x4a4d92
cmp dword [esp + 0x38], 1
ja 0x4a4dae
cmp dword [esp + 0x38], 0x7d0
ja 0x4a4dae
jmp 0x4a4cfe
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
jmp 0x4a4edb
mov ecx, dword [esp + 0x1c]
cmp ecx, 0x2800
jbe 0x4a4dbf
mov ecx, 0x27ff
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
test eax, eax
jne 0x4a4dd0
mov eax, 0x4e9894
push ecx
push eax
push ebp
call fcn.004af060
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 0x4a4e1c
xor ebx, ebx
jmp 0x4a4edb
lea edx, [esp + 0x24]
push edx
push 0x2800
push ebp
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4a4e39
xor ebx, ebx
jmp 0x4a4edb
mov eax, dword [esp + 0x24]
mov byte [eax + ebp], 0
mov ecx, dword [0x511ed0]
mov dword [esp + 0x34], ecx
push ecx
mov byte [esp + 0xe8], 7
mov ecx, esp
mov dword [esp + 0x78], esp
push ebp
call fcn.004d38eb
lea edx, [esp + 0x78]
push edx
call fcn.004167a0
add esp, 8
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0xe8], 8
call fcn.004d39b6
lea ecx, [esp + 0x74]
mov byte [esp + 0xe4], 7
call fcn.004d387d
push 0
lea ecx, [esp + 0x38]
call fcn.004d3cad
push eax
push 0x508bd4
push ebp
call fcn.004add1e
add esp, 0xc
lea ecx, [esp + 0x34]
push 0xffffffffffffffff
call fcn.004d3cfc
lea ecx, [esp + 0x34]
mov byte [esp + 0xe4], 5
call fcn.004d387d
push str.200
push ebp
call fcn.004af770
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 0x4a4ef6
push edi
call esi
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4a4f01
push eax
call esi
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4a4f18
mov ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4a4f18
mov ebp, dword [esp + 0x2c]
xor esi, esi
cmp ebp, esi
je 0x4a4f27
push ebp
call fcn.004d35e7
add esp, 4
mov ecx, dword [esp + 0x18]
cmp ecx, esi
je 0x4a4f4b
mov al, byte [ecx - 1]
test al, al
je 0x4a4f41
cmp al, 0xff
je 0x4a4f41
dec al
mov byte [ecx - 1], al
jmp 0x4a4f4b
dec ecx
push ecx
call fcn.004d35e7
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 0x4a4f7b
mov al, byte [ecx - 1]
test al, al
je 0x4a4f71
cmp al, 0xff
je 0x4a4f71
dec al
mov byte [ecx - 1], al
jmp 0x4a4f7b
dec ecx
push ecx
call fcn.004d35e7
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 0x4a4fab
mov al, byte [ecx - 1]
test al, al
je 0x4a4fa1
cmp al, 0xff
je 0x4a4fa1
dec al
mov byte [ecx - 1], al
jmp 0x4a4fab
dec ecx
push ecx
call fcn.004d35e7
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 0x4a4fdb
mov al, byte [ecx - 1]
test al, al
je 0x4a4fd1
cmp al, 0xff
je 0x4a4fd1
dec al
mov byte [ecx - 1], al
jmp 0x4a4fdb
dec ecx
push ecx
call fcn.004d35e7
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 0x4a500e
mov al, byte [ecx - 1]
test al, al
je 0x4a5004
cmp al, 0xff
je 0x4a5004
dec al
mov byte [ecx - 1], al
jmp 0x4a500e
dec ecx
push ecx
call fcn.004d35e7
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