Function at 0x484720
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x6c
mov eax, dword [0x5f3edc]
push ebx
push ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x70], eax
movzx eax, byte [ebp + 2]
push esi
push edi
movzx edi, byte [eax + 0x5a53d8]
xor esi, esi
test edi, edi
mov dword [esp + 0x18], edi
jle 0x484764
lea esp, [esp]
push 1
push ebp
call fcn.00483910
add esp, 8
mov byte [esp + esi + 0x68], al
inc esi
cmp esi, edi
jl 0x484750
xor esi, esi
test edi, edi
jle 0x484784
lea ebx, [ebx]
push 1
push ebp
call fcn.00483910
add esp, 8
mov byte [esp + esi + 0x70], al
inc esi
cmp esi, edi
jl 0x484770
mov al, byte [ebp + 2]
xor ecx, ecx
test al, al
sete cl
mov esi, ecx
push 1
push ebp
call fcn.00483910
add esp, 8
test eax, eax
je 0x484809
push 8
push ebp
call fcn.00483910
mov ecx, dword [ebp + 0x18]
add esp, 8
test ecx, ecx
movsx eax, al
je 0x484809
mov edx, eax
and eax, 0x1f
or eax, 0x20
shl eax, 0xd
mov dword [esp + 0x80], eax
fild dword [esp + 0x80]
mov eax, dword [ebp + 0x24]
sar edx, 5
shl edx, 2
mov ecx, 0x5a517c
sub ecx, edx
test eax, eax
fmul dword [ecx]
mov dword [esp + 0x1c], eax
fst dword [esp + 0x80]
je 0x484803
mov edx, dword [ebp + 0x20]
fstp st(0)
mov eax, dword [esp + 0x80]
push edx
push eax
call dword [esp + 0x24]
add esp, 8
fmul dword [ebp + 0x10]
fstp dword [ebp + 0x1c]
mov ecx, esi
dec esi
test ecx, ecx
jne 0x484790
push 1
push ebp
call fcn.00483910
add esp, 8
test eax, eax
je 0x484904
push 1
push ebp
mov byte [ebp + 0x28], 0
call fcn.00483910
add esp, 8
test eax, eax
je 0x484904
xor esi, esi
test edi, edi
jle 0x48485c
push 1
push ebp
call fcn.00483910
mov dl, byte [ebp + 0x28]
mov ecx, esi
shl al, cl
add esp, 8
or dl, al
inc esi
cmp esi, edi
mov byte [ebp + 0x28], dl
jl 0x484840
mov al, byte [ebp + 2]
cmp al, 1
jbe 0x484dfe
cmp al, 2
jne 0x484879
push 1
push ebp
call fcn.00483910
add esp, 8
mov byte [ebp + 0x29], al
push 4
push ebp
call fcn.00483910
push 4
push ebp
mov ebx, eax
call fcn.00483910
mov edx, eax
sub eax, ebx
lea ecx, [eax + 3]
add esp, 0x10
test ecx, ecx
jl 0x484dfe
mov byte [ebp + 0x199], cl
mov al, byte [ebx + 0x5f29bc]
mov byte [ebp + 0x198], al
mov al, bl
mov bl, 0xc
imul bl
add al, 0x25
mov byte [ebp + 0x2a], al
mov al, dl
mov dl, bl
imul dl
add al, 0x49
xor esi, esi
lea ebx, [ecx - 1]
test ebx, ebx
mov byte [ebp + 0x2b], al
mov dword [ebp + 0x2c], esi
jle 0x484904
push 1
push ebp
call fcn.00483910
add esp, 8
test eax, eax
je 0x4848ff
mov ecx, esi
mov eax, 1
shl eax, cl
mov ecx, dword [ebp + 0x2c]
or ecx, eax
mov al, byte [ebp + 0x199]
dec al
mov dword [ebp + 0x2c], ecx
mov byte [ebp + 0x199], al
inc esi
cmp esi, ebx
jl 0x4848d1
mov al, byte [ebp + 0x28]
test al, al
je 0x484a34
xor ecx, ecx
cmp edi, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], ecx
jle 0x4849e2
lea esi, [ebp + 0x30]
mov dword [esp + 0x20], esi
mov dl, byte [ebp + 0x28]
shr dl, cl
test dl, 1
je 0x4849c6
push 1
push ebp
call fcn.00483910
add esp, 8
test eax, eax
je 0x4849c6
push 2
push ebp
mov dword [esp + 0x2c], 1
call fcn.00483910
lea eax, [eax + eax*2]
mov dword [esp + 0x18], eax
mov al, byte [ebp + 0x199]
add esp, 8
xor ebx, ebx
test al, al
jbe 0x4849c6
nop
push 4
push ebp
call fcn.00483910
push 4
push ebp
mov edi, eax
call fcn.00483910
add esp, 0x10
cmp edi, 0xf
jne 0x48498f
shl eax, 0xe
jmp 0x484995
or eax, 0x10
shl eax, 0xd
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x80], eax
fild dword [esp + 0x80]
add edi, ecx
inc ebx
add esi, 4
fmul dword [edi*4 + 0x5a5170]
fstp dword [esi - 4]
movzx edx, byte [ebp + 0x199]
cmp ebx, edx
jl 0x484970
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
inc ecx
add esi, 0x48
cmp ecx, edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], esi
jl 0x484928
cmp byte [ebp + 2], 2
jne 0x484a8d
mov al, byte [ebp + 0x29]
test al, al
je 0x484a34
mov eax, dword [esp + 0x24]
test eax, eax
je 0x484a34
mov al, byte [ebp + 0x199]
xor esi, esi
test al, al
jbe 0x484a34
lea ebx, [ebp + 0x78]
lea ebx, [ebx]
push 1
push ebp
call fcn.00483910
add esp, 8
test eax, eax
je 0x484a25
fld dword [ebx]
fchs
fstp dword [ebx]
movzx eax, byte [ebp + 0x199]
inc esi
add ebx, 4
cmp esi, eax
jl 0x484a10
cmp byte [ebp + 2], 2
jne 0x484a8d
push 1
push ebp
call fcn.00483910
add esp, 8
test eax, eax
je 0x484a8d
mov al, byte [ebp + 0x28]
test al, al
mov byte [ebp + 0x19a], 0
je 0x484a5d
movzx ebx, byte [ebp + 0x2a]
jmp 0x484a62
mov ebx, 0xfd
xor esi, esi
push 1
push ebp
call fcn.00483910
mov ecx, esi
shl al, cl
mov cl, byte [ebp + 0x19a]
add esp, 8
or cl, al
mov byte [ebp + 0x19a], cl
mov ecx, dword [esi*4 + 0x5f29ac]
inc esi
cmp ecx, ebx
jl 0x484a64
mov al, byte [ebp + 0x28]
test al, al
mov byte [esp + 0x17], 0
mov byte [esp + 0x16], 0
je 0x484aad
push 2
push ebp
call fcn.00483910
add esp, 8
mov byte [esp + 0x17], al
xor esi, esi
test edi, edi
jle 0x484ac7
push 2
push ebp
call fcn.00483910
add esp, 8
mov byte [esp + esi + 0x60], al
inc esi
cmp esi, edi
jl 0x484ab3
mov al, byte [ebp + 3]
test al, al
je 0x484add
push 1
push ebp
call fcn.00483910
add esp, 8
mov byte [esp + 0x16], al
xor ebx, ebx
test edi, edi
jle 0x484b22
mov al, byte [esp + ebx + 0x60]
test al, al
je 0x484b1d
mov dl, byte [ebp + 0x28]
mov cl, bl
shr dl, cl
test dl, 1
je 0x484afc
mov al, byte [ebp + 0x2a]
jmp 0x484b16
push 6
push ebp
call fcn.00483910
add esp, 8
cmp eax, 0x3c
jg 0x484dfe
mov cl, 3
imul cl
add al, 0x49
mov byte [ebx + ebp + 0x19b], al
inc ebx
cmp ebx, edi
jl 0x484ae3
mov al, byte [esp + 0x17]
test al, al
mov byte [esp + 0x80], 0
je 0x484b81
movzx edx, byte [ebp + 0x2a]
movzx esi, al
movzx eax, byte [ebp + 0x2b]
lea ecx, [esi - 1]
mov ebx, 3
shl ebx, cl
sub eax, edx
cdq
idiv ebx
push 4
push ebp
mov byte [esp + 0x88], 0x40
mov ebx, eax
call fcn.00483910
mov ecx, eax
movzx eax, byte [ebp + 0x2a]
push esi
shl ecx, 1
lea eax, [eax + ebp + 0x31f]
push ebp
mov edx, ebx
call fcn.00483e00
add esp, 0x10
test eax, eax
jne 0x484dfe
xor ebx, ebx
test edi, edi
jle 0x484c1c
lea ecx, [ebp + 0x520]
mov dword [esp + 0x10], ecx
mov al, byte [esp + ebx + 0x60]
test al, al
je 0x484c05
mov ecx, ebx
mov dl, 1
shl dl, cl
mov cl, byte [esp + 0x80]
movzx edi, al
movzx eax, byte [ebx + ebp + 0x19b]
or cl, dl
mov byte [esp + 0x80], cl
lea ecx, [edi - 1]
mov esi, 3
shl esi, cl
push 4
push ebp
lea eax, [eax + esi - 4]
cdq
idiv esi
mov esi, eax
call fcn.00483910
mov ecx, eax
mov eax, dword [esp + 0x18]
push edi
push ebp
mov edx, esi
mov byte [eax - 1], cl
call fcn.00483e00
add esp, 0x10
test eax, eax
jne 0x484dfe
push 2
push ebp
call fcn.00483910
mov edi, dword [esp + 0x20]
add esp, 8
mov ecx, dword [esp + 0x10]
inc ebx
add ecx, 0x200
cmp ebx, edi
mov dword [esp + 0x10], ecx
jl 0x484b95
mov bl, byte [esp + 0x16]
test bl, bl
je 0x484c64
mov al, byte [esp + 0x80]
or al, 0x20
push 4
push ebp
mov byte [esp + 0x88], al
call fcn.00483910
movzx edx, bl
push edx
mov ecx, eax
lea eax, [ebp + 0xf20]
push ebp
mov edx, 2
mov byte [ebp + 0xf1f], cl
call fcn.00483e00
add esp, 0x10
test eax, eax
jne 0x484dfe
push 1
push ebp
call fcn.00483910
add esp, 8
test eax, eax
je 0x484c8d
push 0xb
push ebp
mov byte [esp + 0x88], 0xff
call fcn.00483910
add esp, 8
mov word [ebp + 0x1a0], ax
push 1
push ebp
call fcn.00483910
add esp, 8
test eax, eax
je 0x484d0b
push 6
push ebp
mov byte [esp + 0x88], 0xff
call fcn.00483910
mov byte [ebp + 0x1b0], al
mov al, byte [ebp + 0x28]
add esp, 8
test al, al
je 0x484ccd
push 7
push ebp
call fcn.00483910
add esp, 8
mov byte [ebp + 0x1b1], al
test edi, edi
jle 0x484cf3
lea esi, [ebp + 0x1e5]
mov ebx, edi
lea esp, [esp]
push 7
push ebp
call fcn.00483910
mov byte [esi], al
add esp, 8
add esi, 0x34
dec ebx
jne 0x484ce0
mov al, byte [ebp + 3]
test al, al
je 0x484d0b
push 7
push ebp
call fcn.00483910
add esp, 8
mov byte [ebp + 0x2e9], al
mov al, byte [ebp + 0x28]
test al, al
je 0x484d59
push 1
push ebp
call fcn.00483910
add esp, 8
test eax, eax
je 0x484d59
mov cl, byte [esp + 0x80]
or cl, 0x40
push 3
push ebp
mov byte [esp + 0x88], cl
call fcn.00483910
mov cl, 9
sub cl, al
push 3
push ebp
mov byte [ebp + 0x31d], cl
call fcn.00483910
mov dl, 9
add esp, 0x10
sub dl, al
mov byte [ebp + 0x31e], dl
push 1
push ebp
call fcn.00483910
add esp, 8
test eax, eax
je 0x484e14
mov al, byte [ebp + 0x28]
test al, al
mov byte [esp + 0x80], 0xff
je 0x484d8c
push 2
push ebp
call fcn.00483910
add esp, 8
mov byte [ebp + 0x1b2], al
test edi, edi
jle 0x484dab
lea esi, [ebp + 0x1e6]
mov ebx, edi
push 2
push ebp
call fcn.00483910
mov byte [esi], al
add esp, 8
add esi, 0x34
dec ebx
jne 0x484d98
mov al, byte [ebp + 0x28]
test al, al
je 0x484dcf
cmp byte [ebp + 0x1b2], 1
jne 0x484dcf
lea eax, [ebp + 0x1b3]
push eax
push ebp
call fcn.00483ea0
add esp, 8
test eax, eax
jne 0x484dfe
xor ebx, ebx
test edi, edi
jle 0x484e27
lea esi, [ebp + 0x1e7]
jmp 0x484de0
cmp byte [esi - 1], 1
jne 0x484df4
push esi
push ebp
call fcn.00483ea0
add esp, 8
test eax, eax
jne 0x484dfe
inc ebx
add esi, 0x34
cmp ebx, edi
jl 0x484de0
jmp 0x484e27
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x68]
call fcn.00558076
add esp, 0x6c
ret
mov al, byte [esp + 0x80]
test al, al
je 0x484f9e
mov edi, dword [esp + 0x18]
mov al, byte [ebp + 0x1b0]
test al, al
jne 0x484eb8
mov al, byte [ebp + 0x28]
test al, al
mov dl, 0xf8
je 0x484e46
test byte [ebp + 0x1b1], dl
jne 0x484eb8
mov al, byte [ebp + 3]
test al, al
je 0x484e55
test byte [ebp + 0x2e9], dl
jne 0x484eb8
xor eax, eax
test edi, edi
jle 0x484e6d
lea ecx, [ebp + 0x1e5]
test byte [ecx], dl
jne 0x484eb8
inc eax
add ecx, 0x34
cmp eax, edi
jl 0x484e61
mov esi, dword [esp + 0x18]
xor eax, eax
test esi, esi
mov ecx, 0x40
lea edi, [ebp + 0x41f]
rep stosd dword es:[edi], eax
jle 0x484ea4
lea edx, [ebp + 0x61f]
lea ebx, [ebx]
mov edi, edx
xor eax, eax
mov ecx, 0x40
add edx, 0x200
dec esi
rep stosd dword es:[edi], eax
jne 0x484e90
mov ecx, 0x40
xor eax, eax
lea edi, [ebp + 0x101f]
rep stosd dword es:[edi], eax
jmp 0x484f9e
mov al, byte [ebp + 0x28]
test al, al
je 0x484f04
test byte [esp + 0x80], 0x40
je 0x484f04
xor edx, edx
mov dh, byte [ebp + 0x31e]
xor eax, eax
mov ah, byte [ebp + 0x31d]
lea ecx, [ebp + 0x31f]
push ecx
movzx ecx, byte [ebp + 0x2b]
push edx
movzx edx, byte [ebp + 0x2a]
push eax
movzx eax, byte [ebp + 0x198]
push ecx
push edx
push eax
lea ecx, [ebp + 0x1b1]
push ecx
push ebp
call fcn.0047fb50
add esp, 0x20
mov eax, dword [esp + 0x18]
xor edi, edi
test eax, eax
jle 0x484f65
movzx edx, byte [esp + 0x80]
mov dword [esp + 0x1c], edx
lea ebx, [ebp + 0x1e5]
lea esi, [ebp + 0x51f]
mov ecx, edi
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x1c]
test ecx, eax
je 0x484f53
movzx edx, byte [edi + ebp + 0x19b]
push esi
push 0
push 0
push edx
push 0
push 0
push ebx
push ebp
call fcn.0047fb50
add esp, 0x20
mov eax, dword [esp + 0x18]
inc edi
add esi, 0x200
add ebx, 0x34
cmp edi, eax
jl 0x484f26
mov al, byte [ebp + 3]
test al, al
je 0x484f9e
test byte [esp + 0x80], 0x20
je 0x484f9e
lea eax, [ebp + 0xf1f]
push eax
push 0
push 0
push 7
push 0
push 0
lea ecx, [ebp + 0x2e9]
push ecx
push ebp
mov byte [ebp + 0x2ea], 2
call fcn.0047fb50
add esp, 0x20
push 1
push ebp
call fcn.00483910
add esp, 8
test eax, eax
je 0x484fce
push 9
push ebp
call fcn.00483910
add esp, 8
test eax, eax
je 0x484fce
mov esi, eax
mov edi, edi
push 8
push ebp
call fcn.00483910
add esp, 8
dec esi
jne 0x484fc0
mov eax, dword [ebp + 0xc]
test al, 0x10
mov edx, dword [ebp + 0x1120]
mov dword [esp + 0x10], edx
je 0x484feb
mov ecx, edx
add ecx, 0x400
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 4]
push ecx
mov ecx, dword [ebp + 0x1c]
push edx
movzx edx, byte [ebp + 2]
push ecx
push eax
push edx
lea eax, [esp + 0x60]
push eax
call fcn.00480440
mov dword [esp + 0x78], eax
or eax, 0xffffffff
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x30]
add esp, 0x18
xor ebx, ebx
test eax, eax
mov byte [esp + 0x80], 0
jle 0x485128
mov ecx, dword [esp + 0x10]
lea edi, [ebp + 0x19b]
lea eax, [esp + 0x70]
lea edx, [ebp + 0x51f]
sub eax, edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
lea esp, [esp]
movzx eax, byte [edi]
mov ecx, dword [esp + 0x28]
movzx edx, byte [ecx + edi]
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + ebx*4 + 0x50]
push edx
push eax
mov eax, dword [esp + 0x30]
push ecx
push ebp
lea esi, [esp + 0x40]
call fcn.00483fd0
mov dl, byte [ebp + 0x28]
mov cl, bl
shr dl, cl
add esp, 0x14
test dl, 1
je 0x4850ce
mov al, byte [esp + 0x80]
test al, al
jne 0x4850c8
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x70]
push eax
mov ecx, esi
push ecx
mov ecx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x58]
push eax
push ecx
mov esi, ebp
mov byte [esp + 0x94], 1
call fcn.004842c0
add esp, 0x14
movzx eax, byte [ebp + 0x2b]
jmp 0x4850d1
movzx eax, byte [edi]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + edx]
mov edx, dword [esp + 0x10]
lea ecx, [edx + ecx*4]
nop
mov dword [ecx], 0
inc eax
add ecx, 4
cmp eax, 0x100
jl 0x4850e0
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
add eax, 0x200
add esi, 0x400
inc ebx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
add ecx, 0x100
inc edi
cmp ebx, eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ecx
jl 0x485060
cmp byte [ebp + 2], 2
jne 0x4851aa
mov al, byte [ebp + 0x19b]
mov cl, byte [ebp + 0x19c]
cmp al, cl
movzx esi, al
jb 0x485148
movzx esi, cl
movzx ebx, byte [ebp + 0x19a]
mov edi, dword [esp + 0x10]
mov eax, 0xd
mov edx, 0x5f29ac
lea ecx, [ecx]
test bl, 1
jne 0x48516e
mov eax, dword [edx]
sar ebx, 1
add edx, 4
jmp 0x4851a4
mov ecx, dword [edx]
sar ebx, 1
add edx, 4
cmp ecx, esi
jle 0x485180
mov ecx, esi
jmp 0x485180
fld dword [edi + eax*4]
inc eax
cmp eax, ecx
fld dword [edi + eax*4 + 0x3fc]
fld st(0)
fadd st(2)
fstp dword [edi + eax*4 - 4]
fxch st(1)
fsub st(1)
fstp dword [edi + eax*4 + 0x3fc]
fstp st(0)
jl 0x485180
cmp eax, esi
jl 0x485160
jmp 0x4851ae
mov edi, dword [esp + 0x10]
mov al, byte [ebp + 3]
test al, al
je 0x485223
test byte [ebp + 0xc], 0x10
push 7
lea esi, [esp + 0x30]
push 0
je 0x48520b
mov eax, dword [ebp + 0x1c]
mov edi, dword [esp + 0x18]
push eax
lea ebx, [edi - 0x400]
push ebx
lea eax, [ebp + 0xf1f]
push ebp
call fcn.00483fd0
mov edx, dword [esp + 0x24]
xor eax, eax
add edi, 0xfffffc1c
mov ecx, 0xf9
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0x14]
push ecx
add edx, 0x1400
push edx
push ebx
call fcn.004823f0
mov edi, dword [esp + 0x30]
add esp, 0x20
jmp 0x485223
push 0
lea ecx, [edi + 0x1400]
push ecx
lea eax, [ebp + 0xf1f]
push ebp
call fcn.00483fd0
add esp, 0x14
mov ecx, dword [ebp + 0xc]
mov ebx, dword [esp + 0x18]
mov edx, ecx
and edx, 0xf
movzx esi, byte [edx + 0x5a53d8]
xor eax, eax
cmp esi, ebx
jge 0x4852f6
mov eax, 1
cmp ebx, eax
jle 0x485263
lea esp, [esp]
mov dl, byte [esp + 0x68]
cmp byte [esp + eax + 0x68], dl
jne 0x4852f6
inc eax
cmp eax, ebx
jl 0x485250
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 4]
push edx
push eax
push 0
push ecx
movzx ecx, byte [ebp + 2]
push ecx
push edi
call fcn.00481860
mov eax, dword [ebp + 0x1124]
add esp, 0x18
test eax, eax
jne 0x4852b2
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 0xc]
push edx
movzx edx, byte [ebp + 2]
push eax
push 0
push ecx
push edx
lea eax, [edi + 0x1800]
push eax
mov dword [ebp + 0x1124], 1
call fcn.00481860
add esp, 0x18
mov al, byte [esp + 0x68]
test al, al
je 0x4853fd
test esi, esi
jle 0x48541e
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [edi + 0x1800]
push edx
push edi
call fcn.00483010
add esp, 0xc
add edi, 0x400
dec esi
jne 0x4852c6
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x68]
call fcn.00558076
add esp, 0x6c
ret
cmp eax, ebx
jge 0x485263
mov eax, dword [ebp + 0x1124]
xor esi, esi
cmp eax, esi
je 0x485325
movzx eax, byte [ebp + 2]
push ecx
push eax
lea ecx, [edi + 0x1800]
push ecx
mov dword [ebp + 0x1124], esi
call fcn.00481cb0
add esp, 0xc
test ebx, ebx
jle 0x4853cc
mov ebx, edi
nop
mov eax, dword [esp + 0x60]
mov edx, 1
mov ecx, esi
shl edx, cl
mov dword [esp + 0x80], 0
test edx, eax
jne 0x485356
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x80], eax
fld dword [0x59c57c]
fld dword [esp + esi*4 + 0x4c]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4853a5
mov al, byte [esp + esi + 0x68]
test al, al
je 0x48538b
mov ecx, dword [esp + 0x80]
push ecx
lea edx, [ebx + 0x1800]
push edx
push ebx
call fcn.00483010
add esp, 0xc
jmp 0x4853b9
mov eax, dword [esp + 0x80]
push eax
lea ecx, [ebx + 0x1800]
push ecx
push ebx
call fcn.004823f0
add esp, 0xc
jmp 0x4853b9
mov eax, dword [esp + 0x80]
mov ecx, 0x100
mov edi, ebx
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
inc esi
add ebx, 0x400
cmp esi, eax
jl 0x485330
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0xc]
push eax
movzx eax, byte [ebp + 2]
push ecx
push edx
push eax
push edi
call fcn.00481860
add esp, 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x68]
call fcn.00558076
add esp, 0x6c
ret
test esi, esi
jle 0x48541e
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [edi + 0x1800]
push ecx
push edi
call fcn.004823f0
add esp, 0xc
add edi, 0x400
dec esi
jne 0x485401
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
call fcn.00558076
add esp, 0x6c
ret